mirror of https://github.com/odrling/Aegisub
Fixed #671, related to VFR transformation erasing templater tags.
Originally committed to SVN as r1921.
This commit is contained in:
parent
b1eb77e1b9
commit
853fbfaebd
|
@ -157,6 +157,10 @@ void AssTransformFramerateFilter::LoadSettings(bool IsDefault) {
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
// Transform framerate in tags
|
// Transform framerate in tags
|
||||||
void AssTransformFramerateFilter::TransformTimeTags (wxString name,int n,AssOverrideParameter *curParam,void *curData) {
|
void AssTransformFramerateFilter::TransformTimeTags (wxString name,int n,AssOverrideParameter *curParam,void *curData) {
|
||||||
|
// Only modify anything if this is a number
|
||||||
|
VariableDataType type = curParam->GetType();
|
||||||
|
if (type != VARDATA_INT && type != VARDATA_FLOAT) return;
|
||||||
|
|
||||||
// Setup
|
// Setup
|
||||||
LineData *lineData = (LineData*) curData;
|
LineData *lineData = (LineData*) curData;
|
||||||
AssDialogue *curDiag = lineData->line;;
|
AssDialogue *curDiag = lineData->line;;
|
||||||
|
|
Loading…
Reference in New Issue