filter_filename lloks for a numeric after _v to determine version number and strips it off therefore
This commit is contained in:
parent
efa9b3c37f
commit
017c83a986
|
|
@ -140,6 +140,8 @@ filter_filename(const string &source) {
|
|||
|
||||
size_t dot = source.rfind('.');
|
||||
size_t underscore = source.rfind("_v", dot);
|
||||
if ((underscore != string::npos) && !isdigit(source.at(underscore+2)))
|
||||
underscore = string::npos;
|
||||
|
||||
string extension = source.substr(dot);
|
||||
if (extension == ".ma") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue