[PyMOL] Segmentation fault rendering CGO object with all_states one

2011-01-03 Thread Tsjerk Wassenaar
Hi Jason, It appears that Pymol segfaults rendering when a cgo object spans multiple states, and all_states is set on: from pymol import cmd set all_states,1 cmd.load_cgo([COLOR,1,1,0,SPHERE,3,0,0,1],name="bla",state=2) cmd.load_cgo([COLOR,1,0,0,SPHERE,0,0,0,2],name="bla",state=3) ray This happ

Re: [PyMOL] Segmentation fault rendering CGO object with all_states one

2011-01-03 Thread Jason Vertrees
Hi Tsjerk, That is indeed a bug. I'll look into it and post the changes back to SVN when it's fixed. Cheers, -- Jason On Mon, Jan 3, 2011 at 11:34 AM, Tsjerk Wassenaar wrote: > Hi Jason, > > It appears that Pymol segfaults rendering when a cgo object spans > multiple states, and all_states is

Re: [PyMOL] Segmentation fault rendering CGO object with all_states one

2011-01-03 Thread Jason Vertrees
Hi Tsjerk, Thanks for bringing this to my attention. The fix (revision 3929) has been pushed to the open-source SVN on SourceForge. You can try out the following code segments to verify: ### # TEST 1 from pymol import cmd from pymol.cgo import * from pymol.vfont import plain