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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-08-04 08:17:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-04 08:17:21 +0300
commit0a3295953c26c2af059d92d027093d0bb5986750 (patch)
tree7fa463030217825187281410e7707816fcd3a031 /source
parent2952798cd63ad4497c2c841f965503a6193b1a39 (diff)
Manipulator: fix check for custom function
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c2
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);