This modification allows special filter templates to inherit from a parent. Instead of just loading the filter template directly onto the base filter, the filter template gets loaded and applied recursively with the new ApplyTemplateFilter method.
- Group Reviewers
Restricted Owners Package (Owns No Changed Paths)
- Trac Tickets
I tested the implementation roughly by having a filter template inheriting from another filter template and running the simulation successfully in Atlas. Before writing a unit test (unfortunately, there are no unit tests at all for the TemplateManager so far) and a more detailed test plan, I would like to ask if the current implementation is on the right way?
Unit Tests Skipped
And L"special" / L"filter" instead of "special/filter/".
I suppose the templateFilter should have the VfsPath.
Why exactly 100? Probably it crashes even with this value on slower machines. The value should be a constant.
Also why there are infinity loops? Why not to handle them?
ok > result or even shorter:
if (xero.Load(g_VFS, path) != PSRETURN_OK) return false; // ...