Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/blender/util.h')
-rw-r--r--intern/cycles/blender/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/util.h b/intern/cycles/blender/util.h
index ae9cdfd4f58..59520b94d6f 100644
--- a/intern/cycles/blender/util.h
+++ b/intern/cycles/blender/util.h
@@ -676,7 +676,7 @@ static inline uint object_ray_visibility(BL::Object &b_ob)
*
* NOTE: This code is run prior to object motion blur initialization. so can not access properties
* set by `sync_object_motion_init()`. */
-static bool object_need_motion_attribute(BObjectInfo &b_ob_info, Scene *scene)
+static inline bool object_need_motion_attribute(BObjectInfo &b_ob_info, Scene *scene)
{
const Scene::MotionType need_motion = scene->need_motion();
if (need_motion == Scene::MOTION_NONE) {