[Bf-blender-cvs] [131a4d1] blender-v2.75-release: Cycles: Fix compilation error with motion blur disabled on CPU

Sergey Sharybin noreply at git.blender.org
Thu Jun 18 17:36:59 CEST 2015


Commit: 131a4d1c4839dc315cb00e6c9b9dffe08ea9c1b5
Author: Sergey Sharybin
Date:   Sat Jun 13 18:16:32 2015 +0200
Branches: blender-v2.75-release
https://developer.blender.org/rB131a4d1c4839dc315cb00e6c9b9dffe08ea9c1b5

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