From 7a351d3407e2835f3f811b972d7a9393fd62786e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 31 Dec 2017 13:44:21 +0000 Subject: [PATCH] Changed the case of method name to be consistent with the rest of the OSG --- src/osgPlugins/fbx/WriterNodeVisitor.cpp | 8 ++++---- src/osgPlugins/fbx/WriterNodeVisitor.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/osgPlugins/fbx/WriterNodeVisitor.cpp b/src/osgPlugins/fbx/WriterNodeVisitor.cpp index eb1ebba66..d3c47bdbf 100644 --- a/src/osgPlugins/fbx/WriterNodeVisitor.cpp +++ b/src/osgPlugins/fbx/WriterNodeVisitor.cpp @@ -662,7 +662,7 @@ void WriterNodeVisitor::apply(osg::Geode& node) } // process geometries in batch - ProcessGeometryList(geometryList, node.getName()); + processGeometryList(geometryList, node.getName()); if(node.getStateSet()){ popStateSet(node.getStateSet()); @@ -679,7 +679,7 @@ void WriterNodeVisitor::apply(osg::Geometry& geometry) // here we simply create a single fbx node to assign it the mesh // retrieved from the geometry. // No need to push&pop the geometry state set, as it will be taken into account - // by ProcessGeometryList() + // by processGeometryList() // create fbx node to contain the single geometry FbxNode* parent = _curFbxNode; @@ -690,7 +690,7 @@ void WriterNodeVisitor::apply(osg::Geometry& geometry) // process the single geometry GeometryList geometryList; geometryList.push_back(&geometry); - ProcessGeometryList(geometryList, geometry.getName()); + processGeometryList(geometryList, geometry.getName()); // return to parent fbx node _curFbxNode = parent; @@ -735,7 +735,7 @@ void WriterNodeVisitor::apply(osg::MatrixTransform& node) } ////////////////////////////////////////////////////////////////////////// -void WriterNodeVisitor::ProcessGeometryList(GeometryList &geometryList, const std::string& meshName) +void WriterNodeVisitor::processGeometryList(GeometryList &geometryList, const std::string& meshName) { ListTriangle listTriangles; bool texcoords = false; diff --git a/src/osgPlugins/fbx/WriterNodeVisitor.h b/src/osgPlugins/fbx/WriterNodeVisitor.h index a92a55a83..6e0ae7b9a 100644 --- a/src/osgPlugins/fbx/WriterNodeVisitor.h +++ b/src/osgPlugins/fbx/WriterNodeVisitor.h @@ -196,7 +196,7 @@ class WriterNodeVisitor: public osg::NodeVisitor private: /// process triangles and build faces for a batch of geometries - void ProcessGeometryList(GeometryList& geometryList, const std::string& meshName); + void processGeometryList(GeometryList& geometryList, const std::string& meshName); /** * Fill the faces field of the mesh and call buildMesh().