Hi Robert,

seam like this preprocessor define was renamed over the ages. I am
revisiting the txp loader and found code that is compatible with older
versions of the loader (osg 1.2 from the comment from while back when). The
code is comming from Presagis and suppose to be the latest updates (which I
don;'t agree since work was done after to support whole earth geocentric
archives which is not present in the drop :/ )., Anyway, from my experience
with vis-sim some companies know to stuck with acient versions of libraries
and my intention here is to keep it compatible. I dont see this check in
the trunk. It is for TXPNode::traverse method, there is something like:

// In the time of this change Robert mentioned the next

// version will be 2.0. If not then change the condition to

// mach the right versions. Up to 1.2 the following statment

// needs to compile. Nick

#if OSG_VERSION_MAJOR <= 1

tileMapper->pushModelViewMatrix(cv->getModelViewMatrix());

#else

                        
tileMapper->pushReferenceViewPoint(cv->getReferenceViewPoint());

            tileMapper->pushModelViewMatrix(cv->getModelViewMatrix(),
osg::Transform::RELATIVE_RF);

#endif


-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to