Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define
This commit is contained in:
@@ -830,7 +830,7 @@ void CullVisitor::apply(LightSource& node)
|
||||
StateAttribute* light = node.getLight();
|
||||
if (light)
|
||||
{
|
||||
if (node.getReferenceFrame()==osg::LightSource::RELATIVE)
|
||||
if (node.getReferenceFrame()==osg::LightSource::RELATIVE_RF)
|
||||
{
|
||||
RefMatrix& matrix = getModelViewMatrix();
|
||||
addPositionedAttribute(&matrix,light);
|
||||
|
||||
Reference in New Issue
Block a user