Sketcher: Fix root point not fully constrained when sketch is empty
This commit is contained in:
committed by
abdullahtahiriyo
parent
0f6e8b95a9
commit
4bcca31b02
@@ -218,7 +218,7 @@ void EditModeGeometryCoinManager::updateGeometryColor(const GeoListFacade & geol
|
||||
for (int i=0; i < PtNum; i++)
|
||||
pcolor[i] = drawingParameters.InvalidSketchColor;
|
||||
}
|
||||
else if (ViewProviderSketchCoinAttorney::isSketchFullyConstrained(viewProvider)) {
|
||||
else if (PtNum > 1 && ViewProviderSketchCoinAttorney::isSketchFullyConstrained(viewProvider)) {
|
||||
for (int i=0; i < PtNum; i++)
|
||||
pcolor[i] = drawingParameters.FullyConstrainedColor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user