Cycles: Make curves modified by a taper object with modifier considered a deform modified

That might consider a bit more objects to be considered deform modified,
but it covers common case of using taper object without require of doing
recursive checks.

In worst case it'll be just some extra synchronization time, no render
time difference will happen for false-positive because of extra checks
happening in Cycles.
This commit is contained in:
Sergey Sharybin 2016-04-04 11:39:04 +02:00
parent 2f08d5f761
commit 673ddd48da
Notes: blender-bot 2023-02-14 08:00:45 +01:00
Referenced by issue #48064, Smoke-cycles-OpenvVDB  Adding velocity attribute crashes render
1 changed files with 3 additions and 0 deletions

View File

@ -3658,6 +3658,9 @@ static bool object_deforms_in_time(Object *object)
if (BKE_key_from_object(object) != NULL) {
return true;
}
if (!BLI_listbase_is_empty(&object->modifiers)) {
return true;
}
return object_moves_in_time(object);
}