Correct python dump for the SHAPERSTUDY part of the script

This commit is contained in:
mpv 2020-02-14 15:51:40 +03:00
parent 788e2d8114
commit 59fe51ff7f

View File

@ -3839,6 +3839,8 @@ bool _pyCommand::IsMethodCall()
return false;
if ( myString.StartsWith("#") )
return false;
if ( myString.StartsWith("SHAPERSTUDY") ) // skip shaperstudy specific dump string analysis
return false;
const char* s = myString.ToCString() + GetBegPos( METHOD_IND ) + myMeth.Length() - 1;
return ( s[0] == '(' || s[1] == '(' );
}