forked from mia/Aegisub
Fix crash in freehand draw mode of the vector clip visual tool
Originally committed to SVN as r4313.
This commit is contained in:
parent
94bffb5b9d
commit
519039131f
1 changed files with 1 additions and 2 deletions
|
@ -522,7 +522,7 @@ void VisualToolVectorClip::CommitHold() {
|
|||
/// @brief Refresh
|
||||
///
|
||||
void VisualToolVectorClip::DoRefresh() {
|
||||
if (!dragging) {
|
||||
if (!dragging && !holding) {
|
||||
// Get line
|
||||
AssDialogue *line = GetActiveDialogueLine();
|
||||
if (!line) return;
|
||||
|
@ -531,7 +531,6 @@ void VisualToolVectorClip::DoRefresh() {
|
|||
wxString vect;
|
||||
int scale;
|
||||
vect = GetLineVectorClip(line,scale,inverse);
|
||||
//if (!vect.IsEmpty()) return;
|
||||
spline.DecodeFromASS(vect);
|
||||
PopulateFeatureList();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue