Cycles: Fix compilation error with motion blur disabled on CPU
This commit is contained in:
@@ -494,6 +494,7 @@ void ObjectManager::apply_static_transforms(DeviceScene *dscene, Scene *scene, u
|
|||||||
bool apply_to_motion = need_motion != Scene::MOTION_PASS;
|
bool apply_to_motion = need_motion != Scene::MOTION_PASS;
|
||||||
#else
|
#else
|
||||||
bool motion_blur = false;
|
bool motion_blur = false;
|
||||||
|
bool apply_to_motion = false;
|
||||||
#endif
|
#endif
|
||||||
int i = 0;
|
int i = 0;
|
||||||
bool have_instancing = false;
|
bool have_instancing = false;
|
||||||
|
Reference in New Issue
Block a user