|
From: Lenore H. <lh...@si...> - 2009-01-13 00:34:51
|
Very naively,... This looks to me like the need is to create things with some opacity (it doesn't maybe matter what since both 0.5 and 0.99 work). Does this mean there is no default value for opacity and somewhere a number, any number, is needed to figure out what to put on the screen and all for the want of a number the program crashes? Lenore On Jan 12, 2009, at 13:44 PM, Bruce Sherwood wrote: > Thanks, Scott! Your observation should be a good big hint at where > the problem lies, though I don't yet see where this leads. > > Bruce Sherwood > > Scott David Daniels wrote: >> >> Bruce Sherwood wrote: >> >>> .... Here's the nub of the problem: >>> The following crashes hard, at least on Vista (and on XP): >>> f = frame() >>> b = box(frame=f) >>> b.opacity=0.3 >>> The following doesn't crash: >>> f = frame() >>> b = box(frame=f, opacity=0.5) >>> b.opacity=0.3 >>> >> Checking a bit further, the following crashes: >> > f = frame() >> > p = sphere(frame=f, opacity=1) >> > p.opacity = 0.99 >> > The following doesn't crash: >> > f = frame() >> > p = sphere(frame=f, opacity=0.99) >> > p.opacity = 1 >> > p.opacity = .3 >> > p.opacity = 0 >> >> So, a work-around is to create things you expect to tweak opacity >> on as .99 opacity. This doesn't get to the root cause, but does let >> you move on. >> >> --Scott David Daniels >> Sco...@Ac... >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |