Fix mixed line endings
This commit is contained in:
@@ -277,7 +277,7 @@ void LightManip(SoSeparator * root)
|
||||
in.setBuffer((void *)scenegraph, std::strlen(scenegraph));
|
||||
SoSeparator * _root = SoDB::readAll( &in );
|
||||
if ( _root == nullptr ) // Shouldn't happen.
|
||||
return;
|
||||
return;
|
||||
root->addChild(_root);
|
||||
root->ref();
|
||||
|
||||
@@ -291,7 +291,7 @@ void LightManip(SoSeparator * root)
|
||||
sa.apply( root );
|
||||
SoPath * path = sa.getPath();
|
||||
if ( path == nullptr) // Shouldn't happen.
|
||||
return;
|
||||
return;
|
||||
|
||||
SoPointLightManip * manip = new SoPointLightManip;
|
||||
manip->replaceNode( path );
|
||||
@@ -397,7 +397,7 @@ void AnimationTexture(SoSeparator * root)
|
||||
{
|
||||
// Scene graph
|
||||
if ( root == nullptr ) // Shouldn't happen.
|
||||
return;
|
||||
return;
|
||||
|
||||
// Generate a julia set to use as a texturemap
|
||||
julia(global_cr, global_ci, 2.5, texturewidth, textureheight, 4, bitmap, 64);
|
||||
|
||||
Reference in New Issue
Block a user