[TD]fix bad default value (fix #16783)
This commit is contained in:
@@ -140,7 +140,7 @@ ViewProviderViewPart::ViewProviderViewPart()
|
||||
ADD_PROPERTY_TYPE(ShowAllEdges ,(false),dgroup, App::Prop_None, "Temporarily show invisible lines");
|
||||
|
||||
// Faces related properties
|
||||
ADD_PROPERTY_TYPE(FaceColor, (Preferences::getPreferenceGroup("Colors")->GetUnsigned("FaceColor", 0xFFFFFF)),
|
||||
ADD_PROPERTY_TYPE(FaceColor, (Preferences::getPreferenceGroup("Colors")->GetUnsigned("FaceColor", 0xFFFFFFFF)),
|
||||
fgroup, App::Prop_None, "Set color of faces");
|
||||
ADD_PROPERTY_TYPE(FaceTransparency, (Preferences::getPreferenceGroup("Colors")->GetBool("ClearFace", false) ? 100 : 0),
|
||||
fgroup, App::Prop_None, "Set transparency of faces");
|
||||
|
||||
Reference in New Issue
Block a user