@@ -149,7 +149,7 @@ vtkSmartPointer<vtkTexture> GetTexture(const std::string& filePath, bool isSRGB
149
149
std::string fullPath = vtksys::SystemTools::CollapseFullPath (filePath);
150
150
if (!vtksys::SystemTools::FileExists (fullPath))
151
151
{
152
- F3DLog::Print (F3DLog::Severity::Warning, " Texture file does not exist " + fullPath + " \n " );
152
+ F3DLog::Print (F3DLog::Severity::Warning, " Texture file does not exist " + fullPath);
153
153
}
154
154
else
155
155
{
@@ -171,7 +171,7 @@ vtkSmartPointer<vtkTexture> GetTexture(const std::string& filePath, bool isSRGB
171
171
}
172
172
else
173
173
{
174
- F3DLog::Print (F3DLog::Severity::Warning, " Cannot open texture file " + fullPath + " \n " );
174
+ F3DLog::Print (F3DLog::Severity::Warning, " Cannot open texture file " + fullPath);
175
175
}
176
176
}
177
177
}
@@ -614,7 +614,7 @@ void vtkF3DRenderer::ConfigureGridUsingCurrentActors()
614
614
std::stringstream stream;
615
615
stream << " Using grid unit square size = " << tmpUnitSquare << " \n "
616
616
<< " Grid origin set to [" << gridPos[0 ] << " , " << gridPos[1 ] << " , " << gridPos[2 ]
617
- << " ]\n\n " ;
617
+ << " ]\n " ;
618
618
this ->GridInfo = stream.str ();
619
619
620
620
vtkNew<vtkF3DOpenGLGridMapper> gridMapper;
@@ -1877,7 +1877,7 @@ void vtkF3DRenderer::ConfigureActorsProperties()
1877
1877
if (this ->SurfaceColor .value ().size () != 3 )
1878
1878
{
1879
1879
F3DLog::Print (F3DLog::Severity::Warning,
1880
- std::string (" Invalid surface color provided, not applying\n " ));
1880
+ std::string (" Invalid surface color provided, not applying" ));
1881
1881
}
1882
1882
else
1883
1883
{
@@ -1891,7 +1891,7 @@ void vtkF3DRenderer::ConfigureActorsProperties()
1891
1891
if (this ->EmissiveFactor .value ().size () != 3 )
1892
1892
{
1893
1893
F3DLog::Print (F3DLog::Severity::Warning,
1894
- std::string (" Invalid emissive factor provided, not applying\n " ));
1894
+ std::string (" Invalid emissive factor provided, not applying" ));
1895
1895
}
1896
1896
else
1897
1897
{
@@ -2416,11 +2416,11 @@ std::string vtkF3DRenderer::GetColoringDescription()
2416
2416
{
2417
2417
stream << " Coloring using " << (this ->UseCellColoring ? " cell" : " point" ) << " array named "
2418
2418
<< info.value ().Name << (this ->EnableColoring ? " , " : " (forced), " )
2419
- << vtkF3DRenderer::ComponentToString (this ->ComponentForColoring ) << " \n " ;
2419
+ << vtkF3DRenderer::ComponentToString (this ->ComponentForColoring );
2420
2420
}
2421
2421
else
2422
2422
{
2423
- stream << " Not coloring\n " ;
2423
+ stream << " Not coloring" ;
2424
2424
}
2425
2425
return stream.str ();
2426
2426
}
@@ -2555,7 +2555,7 @@ void vtkF3DRenderer::ConfigureRangeAndCTFForColoring(
2555
2555
if (this ->ComponentForColoring >= info.MaximumNumberOfComponents )
2556
2556
{
2557
2557
F3DLog::Print (F3DLog::Severity::Warning,
2558
- std::string (" Invalid component index: " ) + std::to_string (this ->ComponentForColoring ) + " \n " );
2558
+ std::string (" Invalid component index: " ) + std::to_string (this ->ComponentForColoring ));
2559
2559
return ;
2560
2560
}
2561
2561
@@ -2572,7 +2572,7 @@ void vtkF3DRenderer::ConfigureRangeAndCTFForColoring(
2572
2572
else
2573
2573
{
2574
2574
F3DLog::Print (F3DLog::Severity::Warning,
2575
- std::string (" Invalid scalar range provided, using automatic range\n " ));
2575
+ std::string (" Invalid scalar range provided, using automatic range" ));
2576
2576
}
2577
2577
}
2578
2578
0 commit comments