From Mathias Froechlich, "Attached the collected fixes I needed to compile with all of them.
Most notable the __hpux define stuff. The __hpux__ variant seems to be not defined which resulted in a compile error at this time. Consequently I have replaced all occurances of __hpux__ with __hpux. And huge surprise: now osg plugins are found and loaded correctly ... The next notable one is the MSVC_IDE fix which makes the nmake Makefiles cmake generator target behave like the ide one. Showed up because I started to do scripted builds with nmake instead of devenv... The rest is the usual bunch of stuff that just happens during normal coding ..."
This commit is contained in:
@@ -204,7 +204,7 @@ void LightPointNode::traverse(osg::NodeVisitor& nv)
|
||||
// as this will be our special light point drawable.
|
||||
osgUtil::StateGraph::LeafList::iterator litr;
|
||||
for(litr = rg->_leaves.begin();
|
||||
litr != rg->_leaves.end() && (*litr)->_drawable!=drawable;
|
||||
litr != rg->_leaves.end() && (*litr)->_drawable.get()!=drawable;
|
||||
++litr)
|
||||
{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user