Compile fixes for VS6.0.
This commit is contained in:
@@ -312,10 +312,6 @@ SOURCE=..\..\..\src\osgPlugins\osg\ShapeDrawable.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\osgPlugins\osg\Scissor.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\osgPlugins\osg\StateSet.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
@@ -232,8 +232,7 @@ class DataConverter
|
||||
osg::notify(osg::NOTICE)<<"writeFramestamp = "<<fs.getFrameNumber()<<" "<<fs.getReferenceTime()<<std::endl;
|
||||
|
||||
writeUInt(fs.getFrameNumber());
|
||||
return writeDouble(fs.getReferenceTime());
|
||||
|
||||
writeDouble(fs.getReferenceTime());
|
||||
}
|
||||
|
||||
void read(osg::FrameStamp& fs)
|
||||
|
||||
@@ -3314,7 +3314,8 @@ osg::Node* DataSet::CompositeDestination::createScene()
|
||||
}
|
||||
|
||||
NodeList childNodes;
|
||||
for(ChildList::iterator citr=_children.begin();
|
||||
ChildList::iterator citr;
|
||||
for(citr=_children.begin();
|
||||
citr!=_children.end();
|
||||
++citr)
|
||||
{
|
||||
@@ -3324,7 +3325,7 @@ osg::Node* DataSet::CompositeDestination::createScene()
|
||||
|
||||
|
||||
float cutOffDistance = -FLT_MAX;
|
||||
for(ChildList::iterator citr=_children.begin();
|
||||
for(citr=_children.begin();
|
||||
citr!=_children.end();
|
||||
++citr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user