[Bf-blender-cvs] [f9f34fb9ab0] blender2.8: Fix T56756: Pivot Point update issue(minor issue).

Bastien Montagne noreply at git.blender.org
Wed Sep 19 11:41:54 CEST 2018


Commit: f9f34fb9ab0f45d0f0d2d2bc07d8350f2e491d3c
Author: Bastien Montagne
Date:   Wed Sep 19 11:41:16 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBf9f34fb9ab0f45d0f0d2d2bc07d8350f2e491d3c

Fix T56756: Pivot Point update issue(minor issue).

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

M	source/blender/makesrna/intern/rna_scene.c

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

diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index ffcb7b1520f..aa103fccc53 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2316,7 +2316,7 @@ static void rna_def_tool_settings(BlenderRNA  *brna)
 	RNA_def_property_enum_sdna(prop, NULL, "transform_pivot_point");
 	RNA_def_property_enum_items(prop, rna_enum_transform_pivot_items_full);
 	RNA_def_property_ui_text(prop, "Pivot Point", "Pivot center for rotation/scaling");
-	RNA_def_property_update(prop, NC_SCENE, NULL);
+	RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
 
 	prop = RNA_def_property(srna, "use_transform_pivot_point_align", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "transform_flag", SCE_XFORM_AXIS_ALIGN);



More information about the Bf-blender-cvs mailing list