Fix control line and spot removal spot highlight
Return the geometry color to normal (white) when exiting edit mode.
This commit is contained in:
@@ -274,6 +274,9 @@ void ControlLineManager::releaseEdit(void)
|
||||
if (selected_object > 0) {
|
||||
mouseOverGeometry[selected_object]->state = Geometry::NORMAL;
|
||||
}
|
||||
if (prev_obj > 0) {
|
||||
visibleGeometry[prev_obj - 1]->state = Geometry::NORMAL;
|
||||
}
|
||||
|
||||
edited = true;
|
||||
callbacks->lineChanged();
|
||||
|
@@ -198,8 +198,8 @@ void Spot::releaseEdit()
|
||||
return;
|
||||
}
|
||||
|
||||
loGeom->state = Geometry::ACTIVE;
|
||||
sourceIcon.state = Geometry::ACTIVE;
|
||||
loGeom->state = Geometry::NORMAL;
|
||||
sourceIcon.state = Geometry::NORMAL;
|
||||
EditSubscriber::action = EditSubscriber::Action::NONE;
|
||||
draggedSide = DraggedSide::NONE;
|
||||
updateGeometry();
|
||||
|
Reference in New Issue
Block a user