[Bf-blender-cvs] [23b4e24] master: Remove link from Link/Append UI, since we have 2 menu items

Campbell Barton noreply at git.blender.org
Tue Apr 29 21:11:07 CEST 2014


Commit: 23b4e246e3bf4d5a211373afb1ca6c6796795a10
Author: Campbell Barton
Date:   Wed Apr 30 05:09:22 2014 +1000
https://developer.blender.org/rB23b4e246e3bf4d5a211373afb1ca6c6796795a10

Remove link from Link/Append UI, since we have 2 menu items

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

M	source/blender/windowmanager/intern/wm_operators.c

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

diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index b4aaac9..768e40e 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -2563,7 +2563,7 @@ static void WM_OT_link_append(wmOperatorType *ot)
 	/* better not save _any_ settings for this operator */
 	/* properties */
 	prop = RNA_def_boolean(ot->srna, "link", 1, "Link", "Link the objects or datablocks rather than appending");
-	RNA_def_property_flag(prop, PROP_SKIP_SAVE);
+	RNA_def_property_flag(prop, PROP_SKIP_SAVE | PROP_HIDDEN);
 	prop = RNA_def_boolean(ot->srna, "autoselect", 1, "Select", "Select the linked objects");
 	RNA_def_property_flag(prop, PROP_SKIP_SAVE);
 	prop = RNA_def_boolean(ot->srna, "active_layer", 1, "Active Layer", "Put the linked objects on the active layer");




More information about the Bf-blender-cvs mailing list