PD: move ReferenceHighlighter to Part module
This commit is contained in:
@@ -31,10 +31,10 @@
|
||||
#include "Utils.h"
|
||||
#include "ViewProviderLoft.h"
|
||||
#include "TaskLoftParameters.h"
|
||||
#include "ReferenceHighlighter.h"
|
||||
#include <Mod/PartDesign/App/Body.h>
|
||||
#include <Mod/PartDesign/App/FeatureLoft.h>
|
||||
#include <Mod/Sketcher/App/SketchObject.h>
|
||||
#include <Mod/Part/Gui/ReferenceHighlighter.h>
|
||||
#include <Gui/Control.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/Application.h>
|
||||
@@ -166,7 +166,7 @@ void ViewProviderLoft::highlightReferences(Part::Feature* base, const std::vecto
|
||||
edgeColors = svp->LineColorArray.getValues();
|
||||
std::vector<App::Color> colors = edgeColors;
|
||||
|
||||
ReferenceHighlighter highlighter(base->Shape.getValue(), svp->LineColor.getValue());
|
||||
PartGui::ReferenceHighlighter highlighter(base->Shape.getValue(), svp->LineColor.getValue());
|
||||
highlighter.getEdgeColors(elements, colors);
|
||||
svp->LineColorArray.setValues(colors);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user