Part: modernize C++: use default member init

This commit is contained in:
wmayer
2023-08-22 23:18:03 +02:00
committed by wwmayer
parent 8c2e110bfb
commit bc8e9f5f29
27 changed files with 48 additions and 91 deletions

View File

@@ -48,18 +48,6 @@ PROPERTY_SOURCE(PartGui::ViewProviderPartReference, Gui::ViewProviderGeometryObj
// Construction/Destruction
ViewProviderPartReference::ViewProviderPartReference()
: EdgeRoot(nullptr)
, FaceRoot(nullptr)
, VertexRoot(nullptr)
, pcLineMaterial(nullptr)
, pcPointMaterial(nullptr)
, pcLineStyle(nullptr)
, pcPointStyle(nullptr)
, pcControlPoints(nullptr)
, pShapeHints(nullptr)
, meshDeviation(0.01f)
, noPerVertexNormals(true)
, qualityNormals(false)
{
App::Material mat;
mat.ambientColor.set(0.2f,0.2f,0.2f);