add two scaling modes

This commit is contained in:
Stefan Tröger
2015-06-01 06:58:40 +02:00
parent ad352e9b33
commit f199c844e6
7 changed files with 192 additions and 19 deletions

View File

@@ -172,7 +172,7 @@ void ViewProviderPipe::highlightReferences(const bool on, bool auxillery)
TopExp::MapShapes(base->Shape.getValue(), TopAbs_EDGE, eMap);
originalLineColors = svp->LineColorArray.getValues();
std::vector<App::Color> colors = originalLineColors;
colors.resize(eMap.Extent(), LineColor.getValue());
colors.resize(eMap.Extent(), svp->LineColor.getValue());
for (std::string e : edges) {
int idx = atoi(e.substr(4).c_str()) - 1;