diff --git a/applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C b/applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C index d5f5bfa239..40e4a9c9cb 100644 --- a/applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C +++ b/applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C @@ -1357,12 +1357,6 @@ int main(int argc, char *argv[]) { string line; inFile.getLine(line); - - if (line.empty()) - { - continue; - } - IStringStream lineStr(line); // This implies the end of while has been reached diff --git a/src/functionObjects/graphics/runTimePostProcessing/surface.C b/src/functionObjects/graphics/runTimePostProcessing/surface.C index 3e6e36a189..80c1077db4 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/surface.C +++ b/src/functionObjects/graphics/runTimePostProcessing/surface.C @@ -217,9 +217,7 @@ Foam::functionObjects::runTimePostPro::surface::surface edgeColour_(nullptr), surfaceActor_(), edgeActor_(), - maxGlyphLength_(0), - backFaceCulling_(false), - frontFaceCulling_(true) + maxGlyphLength_(0) { surfaceActor_ = vtkSmartPointer::New(); edgeActor_ = vtkSmartPointer::New(); @@ -246,9 +244,6 @@ Foam::functionObjects::runTimePostPro::surface::surface { dict.readEntry("maxGlyphLength", maxGlyphLength_); } - - dict.readIfPresent("backFaceCulling", backFaceCulling_); - dict.readIfPresent("frontFaceCulling", frontFaceCulling_); } diff --git a/src/functionObjects/graphics/runTimePostProcessing/surface.H b/src/functionObjects/graphics/runTimePostProcessing/surface.H index 8dd23c7886..2648b4bb62 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/surface.H +++ b/src/functionObjects/graphics/runTimePostProcessing/surface.H @@ -191,12 +191,6 @@ protected: //- Max glyph length for representation type rtGlyph scalar maxGlyphLength_; - //- Back face culling option; default = off - bool backFaceCulling_; - - //- Front face culling option; default = on - bool frontFaceCulling_; - // Protected Member Functions