Fix mixed line endings
This commit is contained in:
@@ -566,7 +566,7 @@ void SoFCMeshNode::computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
|
||||
*/
|
||||
void SoFCMeshNode::getPrimitiveCount(SoGetPrimitiveCountAction * action)
|
||||
{
|
||||
if (!this->shouldPrimitiveCount(action))
|
||||
if (!this->shouldPrimitiveCount(action))
|
||||
return;
|
||||
action->addNumTriangles(countTriangles());
|
||||
}
|
||||
@@ -592,7 +592,7 @@ void SoFCMeshNode::write( SoWriteAction* action )
|
||||
else if (out->getStage() == SoOutput::WRITE) {
|
||||
const MeshCore::MeshPointArray& rPoints = _mesh->getKernel().GetPoints();
|
||||
const MeshCore::MeshFacetArray& rFacets = _mesh->getKernel().GetFacets();
|
||||
if (this->writeHeader(out, FALSE, FALSE))
|
||||
if (this->writeHeader(out, FALSE, FALSE))
|
||||
return;
|
||||
point.setNum(rPoints.size());
|
||||
unsigned int pos=0;
|
||||
@@ -746,7 +746,7 @@ void SoFCMeshOpenEdge::computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢
|
||||
*/
|
||||
void SoFCMeshOpenEdge::getPrimitiveCount(SoGetPrimitiveCountAction * action)
|
||||
{
|
||||
if (!this->shouldPrimitiveCount(action))
|
||||
if (!this->shouldPrimitiveCount(action))
|
||||
return;
|
||||
|
||||
// Count number of open edges first
|
||||
|
||||
Reference in New Issue
Block a user