Depsgraph: Fix wrong ID filtering

Was only using first ID instead of all of them.

Might have been causing issues when updating motion paths of
multiple objects.

Spotted by Jack C, thanks!
This commit is contained in:
Sergey Sharybin 2020-01-06 09:23:20 +01:00
parent e993667a46
commit 9483997472
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ class DepsgraphFromIDsFilter {
DepsgraphFromIDsFilter(ID **ids, const int num_ids)
{
for (int i = 0; i < num_ids; ++i) {
ids_.insert(ids[0]);
ids_.insert(ids[i]);
}
}