Path: Enabling highlight/selection colors in paths

This commit is contained in:
Yorik van Havre
2015-01-09 18:39:21 -02:00
parent f1b354445a
commit bcb14d603e
4 changed files with 7 additions and 3 deletions

View File

@@ -64,6 +64,7 @@
using namespace Gui;
using namespace PathGui;
using namespace Path;
using namespace PartGui;
PROPERTY_SOURCE(PathGui::ViewProviderPath, Gui::ViewProviderGeometryObject)
@@ -104,7 +105,7 @@ ViewProviderPath::ViewProviderPath()
pcDrawStyle->style = SoDrawStyle::LINES;
pcDrawStyle->lineWidth = LineWidth.getValue();
pcLines = new SoIndexedLineSet;
pcLines = new PartGui::SoBrepEdgeSet();
pcLines->ref();
pcLineColor = new SoMaterial;