[Bf-blender-cvs] [61fe8e8acaf] master: Hide "Confirm on Release" button from transfor redo options
Julian Eisel
noreply at git.blender.org
Sat Oct 14 01:39:49 CEST 2017
Commit: 61fe8e8acaf8187c70445a1d5b8818c31977aebb
Author: Julian Eisel
Date: Sat Oct 14 01:07:31 2017 +0200
Branches: master
https://developer.blender.org/rB61fe8e8acaf8187c70445a1d5b8818c31977aebb
Hide "Confirm on Release" button from transfor redo options
Hide-flag wasn't set so option shows up in keymap editor. But seems like
that flag is ignored there by now anyway.
===================================================================
M source/blender/editors/transform/transform_ops.c
===================================================================
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c
index 1aa800f9fb1..0bdee594e80 100644
--- a/source/blender/editors/transform/transform_ops.c
+++ b/source/blender/editors/transform/transform_ops.c
@@ -574,9 +574,8 @@ void Transform_Properties(struct wmOperatorType *ot, int flags)
}
if ((flags & P_NO_DEFAULTS) == 0) {
- // Add confirm method all the time. At the end because it's not really that important and should be hidden only in log, not in keymap edit
- /*prop =*/ RNA_def_boolean(ot->srna, "release_confirm", 0, "Confirm on Release", "Always confirm operation when releasing button");
- //RNA_def_property_flag(prop, PROP_HIDDEN);
+ prop = RNA_def_boolean(ot->srna, "release_confirm", 0, "Confirm on Release", "Always confirm operation when releasing button");
+ RNA_def_property_flag(prop, PROP_HIDDEN);
prop = RNA_def_boolean(ot->srna, "use_accurate", 0, "Accurate", "Use accurate transformation");
RNA_def_property_flag(prop, PROP_HIDDEN);
More information about the Bf-blender-cvs
mailing list