diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-04 08:17:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-04 08:17:21 +0300 |
commit | 0a3295953c26c2af059d92d027093d0bb5986750 (patch) | |
tree | 7fa463030217825187281410e7707816fcd3a031 /source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c | |
parent | 2952798cd63ad4497c2c841f965503a6193b1a39 (diff) |
Manipulator: fix check for custom function
Diffstat (limited to 'source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c')
-rw-r--r-- | source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c index 461e10b6d4c..50e1d82a0fc 100644 --- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c +++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c @@ -250,7 +250,7 @@ bool WM_manipulator_target_property_range_get( int WM_manipulator_target_property_array_length( const wmManipulator *UNUSED(mpr), wmManipulatorProperty *mpr_prop) { - if (mpr_prop->custom_func.range_get_fn) { + if (mpr_prop->custom_func.value_get_fn) { return mpr_prop->type->array_length; } return RNA_property_array_length(&mpr_prop->ptr, mpr_prop->prop); |