Skip to content

Commit

Permalink
PointsGui: ordered ViewProvider view properties
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopav authored and wwmayer committed Aug 21, 2020
1 parent 9b71dd7 commit 32a05f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Mod/Points/Gui/ViewProvider.cpp
Expand Up @@ -72,7 +72,9 @@ App::PropertyFloatConstraint::Constraints ViewProviderPoints::floatRange = {1.0,

ViewProviderPoints::ViewProviderPoints()
{
ADD_PROPERTY(PointSize,(2.0f));
static const char *osgroup = "Object Style";

ADD_PROPERTY_TYPE(PointSize, (2.0f), osgroup, App::Prop_None, "Set point size");
PointSize.setConstraints(&floatRange);

// Create the selection node
Expand Down

0 comments on commit 32a05f3

Please sign in to comment.