← Back to team overview

yade-dev team mailing list archive

[Bug 622669] Re: qt4 interface does not refresh until the script finishes

 

The problem is resolved by changing:

O.run(10000,True) => O.run(10000)
http://bazaar.launchpad.net/~yade-dev/yade/trunk/view/head:/examples/packs/packs.py#L138

So, the wait() function causes a freeze.
http://bazaar.launchpad.net/~yade-dev/yade/trunk/view/head:/py/wrapper/yadeWrapper.cpp#L360

I am not sure is it correct solution or not.

-- 
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/622669

Title:
  qt4 interface does not refresh until the script finishes

Status in Yet Another Dynamic Engine:
  Confirmed

Bug description:
  ./examples/regular-sphere-pack.py is working normally, only when
  string 104 is commented.

  http://bazaar.launchpad.net/%7Eyade-
  dev/yade/trunk/annotate/head%3A/examples/regular-sphere-pack/regular-
  sphere-pack.py#L104

  When it is uncommented, the script should start automatically, but in
  this case Controller hangs and View window does not appear.



References