diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-04 12:39:04 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-05 11:36:14 +0300 |
commit | da0ce86a3cd048de66531a1f3c4f1bcb49f2310e (patch) | |
tree | b7be88962fd88fbecd8226ea4b335f298bad4ee8 /source | |
parent | f615b5737935d8b1f504dd9989047ecc1a715e32 (diff) |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index d78b49b9f9a..1ba4852623c 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -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); } |