+ handling of colored mesh in view provider

This commit is contained in:
wmayer
2016-01-03 01:16:00 +01:00
parent dd9e8c5bb1
commit b6faaefaf8
3 changed files with 31 additions and 15 deletions

View File

@@ -119,6 +119,7 @@ public:
App::PropertyFloatConstraint PointSize;
App::PropertyFloatConstraint CreaseAngle;
App::PropertyBool OpenEdges;
App::PropertyBool Coloring;
App::PropertyEnumeration Lighting;
App::PropertyColor LineColor;
@@ -176,7 +177,7 @@ protected:
void highlightComponents();
void setHighlightedComponents(bool);
App::PropertyColorList* getColorProperty() const;
void tryColorPerVertex();
void tryColorPerVertex(bool);
void setColorPerVertex(const App::PropertyColorList*);
virtual SoShape* getShapeNode() const;