Mesh: Fix linter warnings

This commit is contained in:
wmayer
2024-11-20 23:02:40 +01:00
committed by wwmayer
parent 4e82a0af48
commit 7a2bfb7370
86 changed files with 1734 additions and 1882 deletions

View File

@@ -53,17 +53,17 @@ ViewProviderMeshTransform::~ViewProviderMeshTransform()
pcTransformerDragger->unref();
}
void ViewProviderMeshTransform::attach(App::DocumentObject* pcFeat)
void ViewProviderMeshTransform::attach(App::DocumentObject* obj)
{
// creates the standard viewing modes
ViewProviderMesh::attach(pcFeat);
ViewProviderMesh::attach(obj);
SoSeparator* pcEditRoot = new SoSeparator();
auto pcEditRoot = new SoSeparator();
// flat shaded (Normal) ------------------------------------------
SoDrawStyle* pcFlatStyle = new SoDrawStyle();
auto pcFlatStyle = new SoDrawStyle();
pcFlatStyle->style = SoDrawStyle::FILLED;
SoNormalBinding* pcBinding = new SoNormalBinding();
auto pcBinding = new SoNormalBinding();
pcBinding->value = SoNormalBinding::PER_FACE;
pcEditRoot->addChild(pcTransformerDragger);