Agreed. I will go ahead and submit the presumptive fix to osg-submissions. Thanks Paul -gw
On Mon, Jul 28, 2008 at 9:31 AM, Paul Martz <[EMAIL PROTECTED]> wrote: > The code in Optimizer.cpp makes this look like a bug. If the two were > intended to be synonymous, I'd expect they would share the same code. They > don't. I'm betting FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS is > supposed to be 0x10000. > -Paul > > > > ------------------------------ > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Paul Martz > *Sent:* Sunday, July 27, 2008 2:57 PM > *To:* 'OpenSceneGraph Users' > *Subject:* Re: [osg-users] Optimizer options oddity > > Hi Glenn - I haven't looked at the code, but I see this in the ChangeLog: > > > 2008-06-20 13:16 +0000 [r8474] robert: > * From Terry Welsh, new flatten static transforms visitor that > duplicates subgraphs that are shared beneath differnt static > transforms From Robert Osfield, made a range of changes to > Terry's visitor integrating it into osgUtil::Optimizer and > changing the code to use a style more like the rest of the OSG. > > > Maybe Terry can shed some light on this, or you could search osg-users for > the week leading up to this change to see if anything was said about it. Or > we can put this on a list of things for Robert to check before tagging 2.6. > -Paul > > > ------------------------------ > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Glenn Waldron > *Sent:* Saturday, July 26, 2008 6:48 PM > *To:* OpenSceneGraph Users > *Subject:* [osg-users] Optimizer options oddity > > I noticed that two of the OptimizerOptions values, COPY_SHARED_NODES and > FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS, have the same enum > value (0x100). Is this intentional? This is in 2.6 RC1. > > Glenn > > -- > Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : > +1.703.652.4791 > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : +1.703.652.4791
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org