yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00903
Re: r1643 - bug - images of spheres vanish if to close primary view
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Tue, 27 Jan 2009 02:03:59 +0100
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<200901261940.25217.dorofeenko@icp.ac.ru>
sega said: (by the date of Mon, 26 Jan 2009 19:40:24 +0300)
> Hi, all. I have found a bug: if to close "Primary view" window in Simulation Controller then spheres vanish:
> 1. Run examples/STLImporerTest.py
> 2. Open Simulation Controller.
> 3. Close Primary View
> 4. Click on "New 3D" button.
> in results spheres vanish.
I've been fighting with this bug for about a year now. It's well
known to me. I have always had problems in reproducing it. I thought
that I solved it about 6 months ago, but now it comes back.
Now I decided to try an even more radical approach. Maybe finally it
will work....?
my theory is that when the GL context is closed (last GL window is
closed) the GL Lists are all deleted. Sphere is a GL list, and needs
to be recreated every time when a new GL context is created.
Very often it was working without the need to recreate the GL list,
because incidentally the new list was in the same place in memory,
where the old one was present. Maybe.
--
Janek Kozicki |
References