From: Spiderdab <77...@ti...> - 2012-01-30 21:44:23
|
On lun, 2012-01-30 at 13:40 -0700, Bruce Sherwood wrote: > Making the trail object invisible and then deleting it works fine on > my Windows machine, so there's definitely something not quite right in > the Ubuntu environment. > > However, if you are going to turn the curve on and off you shouldn't > delete the curve. I would suggest the following strategy: > > When you want the curve associated with your object ufo to disappear, > execute ufo.trail_object.pos = [] to get rid of all the points > currently in the list of curve points, and execute retain = 0 so that > for the time being no more points will be added to the curve. Then > when you want to turn on the trail again, set retain back to 50. > > Bruce Sherwood Good solution, too. thanks. |