From 0f42b8aee0bbff27459b52a60d53ac4f51fe9f76 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 13 Jun 2015 18:16:32 +0200 Subject: [PATCH] Cycles: Fix compilation error with motion blur disabled on CPU --- intern/cycles/render/object.cpp | 1 + 1 file changed, 1 insertion(+) 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;