Commit: 0a3295953c26c2af059d92d027093d0bb5986750
Author: Campbell Barton
Date: Fri Aug 4 15:17:21 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB0a3295953c26c2af059d92d027093d0bb5986750
Manipulator: fix check for custom function
===================================================================
M
source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c
===================================================================
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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs