Fixed the behaviour of vector clip when realtime mode is on.

Originally committed to SVN as r1610.
This commit is contained in:
Rodrigo Braz Monteiro 2007-10-18 19:17:01 +00:00
parent 06530d716c
commit c1633cfaf0
2 changed files with 3 additions and 1 deletions

View file

@ -21,7 +21,9 @@
#ifndef FFMPEGSOURCE_H
#define FFMPEGSOURCE_H
#ifndef NO_FLAC_CACHE
#define FLAC_CACHE
#endif
#include <windows.h>
#include <stdio.h>

View file

@ -457,7 +457,7 @@ void VisualToolVectorClip::CommitHold() {
if (mode != 3 && mode != 4) SetOverride(_T("\\clip"),_T("(") + spline.EncodeToASS() + _T(")"));
// End freedraw
if (mode == 6 || mode == 7) SetMode(0);
if (!holding && (mode == 6 || mode == 7)) SetMode(0);
}