[Bf-blender-cvs] [b2f1b1bc317] custom-manipulators: Missed in last commit

Campbell Barton noreply at git.blender.org
Thu Jun 22 03:26:36 CEST 2017


Commit: b2f1b1bc317943d12302ea16aa88dfebc7a08a60
Author: Campbell Barton
Date:   Thu Jun 22 11:31:37 2017 +1000
Branches: custom-manipulators
https://developer.blender.org/rBb2f1b1bc317943d12302ea16aa88dfebc7a08a60

Missed in last commit

===================================================================

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 5eb72c5be3f..825206a4ea9 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c
@@ -98,6 +98,8 @@ void WM_manipulator_target_property_def_rna_ptr(
 	mpr_prop->prop = prop;
 	mpr_prop->index = index;
 
+	mpr->target_properties_len_set += 1;
+
 	if (mpr->type->property_update) {
 		mpr->type->property_update(mpr, mpr_prop);
 	}
@@ -126,6 +128,8 @@ void WM_manipulator_target_property_def_func_ptr(
 	mpr_prop->custom_func.range_get_fn = params->range_get_fn;
 	mpr_prop->custom_func.user_data = params->user_data;
 
+	mpr->target_properties_len_set += 1;
+
 	if (mpr->type->property_update) {
 		mpr->type->property_update(mpr, mpr_prop);
 	}




More information about the Bf-blender-cvs mailing list