Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as one that does not. Moving it to Base opens possibilities to integrate it better with the rest of FreeCAD.
This commit is contained in:
@@ -108,7 +108,7 @@ void ViewProviderDressUp::highlightReferences(const bool on)
|
||||
vp->setHighlightedFaces(materials);
|
||||
}
|
||||
if (!edges.empty()) {
|
||||
std::vector<App::Color> colors = vp->LineColorArray.getValues();
|
||||
std::vector<Base::Color> colors = vp->LineColorArray.getValues();
|
||||
|
||||
PartGui::ReferenceHighlighter highlighter(base->Shape.getValue(), LineColor.getValue());
|
||||
highlighter.getEdgeColors(edges, colors);
|
||||
|
||||
Reference in New Issue
Block a user