Fixed LWO2 ReaderWriter problem which was down to an the compiler reodering
the evaluation of a Vec3 paramter.
This commit is contained in:
@@ -7,14 +7,12 @@ using namespace osg;
|
||||
/**
|
||||
* ClearNode constructor.
|
||||
*/
|
||||
ClearNode::ClearNode()
|
||||
ClearNode::ClearNode():
|
||||
_requiresClear(true),
|
||||
_clearColor(0.0f,0.0f,0.0f,1.0f)
|
||||
{
|
||||
StateSet* stateset = osgNew StateSet;
|
||||
stateset->setRenderBinDetails(-1,"RenderBin");
|
||||
setStateSet(stateset);
|
||||
|
||||
_requiresClear = true;
|
||||
_clearColor.set(0.0f,0.0f,0.0f,1.0f);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user