Which version of the OSG are you using?

On 6/11/07, Hanekamp, Nikolaus <[EMAIL PROTECTED]> wrote:
Hi,

if the Geode beneath a MatrixTransform contains a Description then the
VertexArrays and NormalArrays are not cloned, but the transform is
performed anyway. This leads to wrong geometry for multiple instances.

I suppose an error in the member function void
Optimizer::FlattenStaticTransformsVisitor::apply(osg::Geode& geode):

Line:
if((geometry) && (isOperationPermissibleForObject(&geode)) &&
(isOperationPermissibleForObject(geometry)))

The expression "&& (isOperationPermissibleForObject(&geode)" seems to be
unnecessary.

I am not sure, the "FLATTEN_STATIC_TRANSFORMS" part is a bit complex,
may be there is a side effect.


Nikolaus Hanekamp


The statements contained in this message are not legally binding unless 
confirmed in writing.
This message may contain confidential information. If you are not the intended 
recipient, or if this message and its annexes contains information which is 
apparently not meant for you, please notify us immediately and - to the extent 
you are not the intended recipient - please delete this message and all its 
attachments from your system and destroy any copy made therefrom.
Any unauthorized review, delivery, distribution, transmission, storage, 
printing or otherwise making use of the message and its attachments are 
strictly prohibited.
In case your systems have been infected by virus or otherwise negatively 
affected by this message, we will not be liable for any damage resulting 
therefrom unless in case of gross negligence or wilful misconduct.

Geschäftsführung/Management Board:
Dipl.-Kfm. Heinz Dresia (Vorsitz/Chairman) Dipl.-Wirtsch.-Ing. Georg Morawitz 
Dipl.-Ing. Luitjen Ennenga Sitz der Gesellschaft/Registered Office: Bremen 
Register/Commercial Register: Amtsgericht Bremen, HRB 9659

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to