Fix mixed line endings

This commit is contained in:
Zheng, Lei
2022-04-26 21:45:10 +08:00
committed by Chris Hennes
parent 2753dd4ca7
commit 3ef438eaf0
66 changed files with 344 additions and 344 deletions

View File

@@ -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);