mirror of https://github.com/odrling/Aegisub
Remove features for deleted control points
Originally committed to SVN as r4620.
This commit is contained in:
parent
dc2836e9e5
commit
caba46bf0b
|
@ -168,7 +168,7 @@ protected:
|
|||
// @brief Called at the end of a drag
|
||||
virtual void CommitDrag(FeatureType* feature) { }
|
||||
|
||||
/// @brief Called when there's stuff
|
||||
/// @brief Called by Refresh when there's stuff
|
||||
virtual void DoRefresh() { }
|
||||
|
||||
/// @brief Add a feature (and its line) to the selection
|
||||
|
@ -205,7 +205,7 @@ public:
|
|||
virtual bool Update() { return false; };
|
||||
/// @brief Draw stuff
|
||||
virtual void Draw()=0;
|
||||
/// @brief Called by stuff when there's stuff
|
||||
/// @brief Called by stuff when there's stuff, and sometimes when there isn't stuff
|
||||
void Refresh();
|
||||
|
||||
/// @brief Constructor
|
||||
|
|
|
@ -318,6 +318,7 @@ bool VisualToolVectorClip::InitializeDrag(VisualToolVectorClipDraggableFeature*
|
|||
spline.erase(feature->curve);
|
||||
CommitDrag(feature);
|
||||
curFeature = NULL;
|
||||
PopulateFeatureList();
|
||||
ClearSelection(false);
|
||||
Commit(true);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue