[Bf-blender-cvs] [0f42b8a] master: Cycles: Fix compilation error with motion blur disabled on CPU

Sergey Sharybin noreply at git.blender.org
Sat Jun 13 19:08:21 CEST 2015


Commit: 0f42b8aee0bbff27459b52a60d53ac4f51fe9f76
Author: Sergey Sharybin
Date:   Sat Jun 13 18:16:32 2015 +0200
Branches: master
https://developer.blender.org/rB0f42b8aee0bbff27459b52a60d53ac4f51fe9f76

Cycles: Fix compilation error with motion blur disabled on CPU

===================================================================

M	intern/cycles/render/object.cpp

===================================================================

diff --git a/intern/cycles/render/object.cpp b/intern/cycles/render/object.cpp
index ae72d72..4a57ac4 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;




More information about the Bf-blender-cvs mailing list