Ported distribution across to use the new osg::MatrixTransform and osg::BlendFunc
class instead of osg::Transform and osg::Transparancy respectively.
This commit is contained in:
@@ -115,7 +115,7 @@ class SG_EXPORT Transform : public Group
|
||||
}
|
||||
else // absolute
|
||||
{
|
||||
matrix.makeIdent();
|
||||
matrix.makeIdentity();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -128,13 +128,11 @@ class SG_EXPORT Transform : public Group
|
||||
}
|
||||
else // absolute
|
||||
{
|
||||
matrix.makeIdent();
|
||||
matrix.makeIdentity();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
virtual const bool computeLocalToWorldMatrix(Matrix& matrix,NodeVisitor*) const { return false; }
|
||||
|
||||
#else
|
||||
|
||||
/** Set the transform's matrix.*/
|
||||
|
||||
Reference in New Issue
Block a user