diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-13 19:16:32 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-13 19:16:32 +0300 |
commit | 0f42b8aee0bbff27459b52a60d53ac4f51fe9f76 (patch) | |
tree | b17168652389f91359dec660110181f23515aecd | |
parent | 097aa852cf4a1fc5f957abc300e01fac00a5f7ca (diff) |
Cycles: Fix compilation error with motion blur disabled on CPU
-rw-r--r-- | intern/cycles/render/object.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/object.cpp b/intern/cycles/render/object.cpp index ae72d728c8c..4a57ac4dff1 100644 --- a/intern/cycles/render/object.cpp +++ b/intern/cycles/render/object.cpp @@ -494,6 +494,7 @@ void ObjectManager::apply_static_transforms(DeviceScene *dscene, Scene *scene, u bool apply_to_motion = need_motion != Scene::MOTION_PASS; #else bool motion_blur = false; + bool apply_to_motion = false; #endif int i = 0; bool have_instancing = false; |