diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-01-05 18:06:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-01-05 18:06:23 +0300 |
commit | f64d7bfa4a21ed82f6b97da5e384995fd5c50195 (patch) | |
tree | ef1d5d0c06ffcec82c658816026ce938f1a1a2c7 /intern/cycles/blender | |
parent | 8393ccd07634b3152b18d4d527b1460dab9dbe06 (diff) |
Cleanup: compiler warnings about unused code
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/util.h | 2 |
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) { |