Don't set the line color for every visual feature as it's always the same
Originally committed to SVN as r4427.
This commit is contained in:
parent
2659b79036
commit
fe65f778b1
1 changed files with 1 additions and 1 deletions
|
@ -301,6 +301,7 @@ void VisualTool<FeatureType>::DrawAllFeatures() {
|
|||
dragListOK = true;
|
||||
}
|
||||
|
||||
SetLineColour(colour[0],1.0f,2);
|
||||
for (unsigned i = 0; i < features.size(); ++i) {
|
||||
int fill;
|
||||
if (&features[i] == curFeature)
|
||||
|
@ -310,7 +311,6 @@ void VisualTool<FeatureType>::DrawAllFeatures() {
|
|||
else
|
||||
fill = 1;
|
||||
SetFillColour(colour[fill],0.6f);
|
||||
SetLineColour(colour[0],1.0f,2);
|
||||
features[i].Draw(*this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue