Sketcher: ViewProviderSketch
============================ Adding PropertyVisualLayerList to ViewProviderSketch
This commit is contained in:
committed by
abdullahtahiriyo
parent
6a3d751352
commit
f2d6b287ab
@@ -321,6 +321,8 @@ ViewProviderSketch::ViewProviderSketch()
|
||||
ADD_PROPERTY_TYPE(ForceOrtho,(false),"Visibility automation",(App::PropertyType)(App::Prop_ReadOnly),"If true, camera type will be forced to orthographic view when entering editing mode.");
|
||||
ADD_PROPERTY_TYPE(SectionView,(false),"Visibility automation",(App::PropertyType)(App::Prop_ReadOnly),"If true, only objects (or part of) located behind the sketch plane are visible.");
|
||||
ADD_PROPERTY_TYPE(EditingWorkbench,("SketcherWorkbench"),"Visibility automation",(App::PropertyType)(App::Prop_ReadOnly),"Name of the workbench to activate when editing this sketch.");
|
||||
ADD_PROPERTY_TYPE(VisualLayerList, (VisualLayer()), "Layers", (App::PropertyType)(App::Prop_ReadOnly), "Information about the Visual Representation of layers");
|
||||
|
||||
|
||||
// Default values that will be overridden by preferences (if existing)
|
||||
PointSize.setValue(4);
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
#include <Mod/Part/Gui/ViewProviderAttachExtension.h>
|
||||
#include <Mod/Sketcher/App/GeoList.h>
|
||||
|
||||
#include "PropertyVisualLayerList.h"
|
||||
|
||||
#include "ShortcutListener.h"
|
||||
|
||||
|
||||
@@ -421,6 +423,7 @@ public:
|
||||
App::PropertyBool ForceOrtho;
|
||||
App::PropertyBool SectionView;
|
||||
App::PropertyString EditingWorkbench;
|
||||
SketcherGui::PropertyVisualLayerList VisualLayerList;
|
||||
//@}
|
||||
|
||||
// TODO: It is difficult to imagine that these functions are necessary in the public interface. This requires review at a second stage and possibly
|
||||
|
||||
Reference in New Issue
Block a user