[Bf-blender-cvs] [e680755ad7e] soc-2019-outliner: Outliner: Remove negative from sync selection

Nathan Craddock noreply at git.blender.org
Wed Jun 12 06:30:01 CEST 2019


Commit: e680755ad7edd3dee12d663890f5adcd5d540d10
Author: Nathan Craddock
Date:   Tue Jun 11 21:47:40 2019 -0600
Branches: soc-2019-outliner
https://developer.blender.org/rBe680755ad7edd3dee12d663890f5adcd5d540d10

Outliner: Remove negative from sync selection

Removing because it was behaving strangely. I might not entirely
understand what `negative_sdna` does

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

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

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

diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index c9026962311..78a150a9f45 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -2829,7 +2829,7 @@ static void rna_def_space_outliner(BlenderRNA *brna)
   RNA_def_property_update(prop, NC_SPACE | ND_SPACE_OUTLINER, NULL);
 
   prop = RNA_def_property(srna, "use_sync_selection", PROP_BOOLEAN, PROP_NONE);
-  RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SO_SYNC_SELECTION);
+  RNA_def_property_boolean_sdna(prop, NULL, "flag", SO_SYNC_SELECTION);
   RNA_def_property_ui_text(
       prop, "Sync Outliner Selection", "Sync outliner selection with other editors");
   RNA_def_property_ui_icon(prop, ICON_UV_SYNC_SELECT, 0);



More information about the Bf-blender-cvs mailing list