Origin plane: add semi transparent face

This commit is contained in:
Ronny Standtke
2023-04-29 17:51:58 +02:00
committed by Adrián Insaurralde Avalos
parent 6d186183b2
commit 28d5f47b14
3 changed files with 33 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ ViewProviderOriginFeature::ViewProviderOriginFeature () {
ADD_PROPERTY_TYPE ( Size, (ViewProviderOrigin::defaultSize()), 0, App::Prop_ReadOnly,
QT_TRANSLATE_NOOP("App::Property", "Visual size of the feature"));
ShapeColor.setValue ( 50.f/255, 150.f/255, 250.f/255 ); // Set default color for origin (light-blue)
ShapeColor.setValue ( ViewProviderOrigin::defaultColor ); // Set default color for origin (light-blue)
BoundingBox.setStatus(App::Property::Hidden, true); // Hide Boundingbox from the user due to it doesn't make sense
// Create node for scaling the origin