Leave control lines in good state on commit

When exiting perspective control line editing mode while dragging a
control line, set the geometry and control line state to the appropriate
state corresponding to when lines are not being dragged.
This commit is contained in:
Lawrence Lee
2021-05-22 18:17:30 -07:00
parent a5de8920fb
commit 3ade11c970
3 changed files with 21 additions and 0 deletions

View File

@@ -87,6 +87,8 @@ public:
~ControlLineManager();
bool getEdited(void) const;
/** Release anything that is currently being dragged. */
void releaseEdit(void);
void removeAll(void);
/** Sets whether or not the lines are visible and interact-able. */
void setActive(bool active);