From 450e409c9b84ab7bb155e2e408725c754bde369d Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 13 Jan 2018 21:57:14 +0100 Subject: [PATCH] code cleanup --- src/Mod/Part/Gui/ViewProviderExt.cpp | 10 ---------- src/Mod/Part/Gui/ViewProviderExt.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/src/Mod/Part/Gui/ViewProviderExt.cpp b/src/Mod/Part/Gui/ViewProviderExt.cpp index d174781024..694e6fb515 100644 --- a/src/Mod/Part/Gui/ViewProviderExt.cpp +++ b/src/Mod/Part/Gui/ViewProviderExt.cpp @@ -784,8 +784,6 @@ bool ViewProviderPartExt::loadParameter() ("User parameter:BaseApp/Preferences/Mod/Part"); float deviation = hGrp->GetFloat("MeshDeviation",0.2); float angularDeflection = hGrp->GetFloat("MeshAngularDeflection",28.65); - bool novertexnormals = hGrp->GetBool("NoPerVertexNormals",false); - bool qualitynormals = hGrp->GetBool("QualityNormals",false); if (Deviation.getValue() != deviation) { Deviation.setValue(deviation); @@ -794,14 +792,6 @@ bool ViewProviderPartExt::loadParameter() if (AngularDeflection.getValue() != angularDeflection ) { AngularDeflection.setValue(angularDeflection); } - if (this->noPerVertexNormals != novertexnormals) { - this->noPerVertexNormals = novertexnormals; - changed = true; - } - if (this->qualityNormals != qualitynormals) { - this->qualityNormals = qualitynormals; - changed = true; - } return changed; } diff --git a/src/Mod/Part/Gui/ViewProviderExt.h b/src/Mod/Part/Gui/ViewProviderExt.h index ca6df71e9c..8ae6bb16db 100644 --- a/src/Mod/Part/Gui/ViewProviderExt.h +++ b/src/Mod/Part/Gui/ViewProviderExt.h @@ -165,8 +165,6 @@ protected: private: // settings stuff - bool noPerVertexNormals; - bool qualityNormals; static App::PropertyFloatConstraint::Constraints sizeRange; static App::PropertyFloatConstraint::Constraints tessRange; static App::PropertyQuantityConstraint::Constraints angDeflectionRange;