Clip.cpp: Removed hard-coded Tracker effect check in AddEffect function

Added "has_tracked_object" property on EffectBase so that the AddEffect function checks for this property instead of the Tracker effect name - this way it's possible to support other effects that have tracked objects but different names.
This commit is contained in:
Brenno
2021-01-22 19:00:44 -03:00
parent a7d2b6adab
commit 17463313fc
7 changed files with 39 additions and 13 deletions

View File

@@ -47,6 +47,7 @@ void EffectBase::InitEffectInfo()
info.has_audio = false;
info.name = "";
info.description = "";
info.has_tracked_object = false;
}
// Display file information