From 8efd7be41c100fbbd7aff7cb3cf17a97039954a7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 16 Aug 2018 08:41:02 +1000 Subject: UI: hide redo panel for move up/down operators --- source/blender/editors/object/object_shader_fx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/object/object_shader_fx.c') diff --git a/source/blender/editors/object/object_shader_fx.c b/source/blender/editors/object/object_shader_fx.c index 681851850a5..62569676434 100644 --- a/source/blender/editors/object/object_shader_fx.c +++ b/source/blender/editors/object/object_shader_fx.c @@ -315,7 +315,8 @@ static bool edit_shaderfx_poll(bContext *C) static void edit_shaderfx_properties(wmOperatorType *ot) { - RNA_def_string(ot->srna, "shaderfx", NULL, MAX_NAME, "Shader", "Name of the shaderfx to edit"); + PropertyRNA *prop = RNA_def_string(ot->srna, "shaderfx", NULL, MAX_NAME, "Shader", "Name of the shaderfx to edit"); + RNA_def_property_flag(prop, PROP_HIDDEN); } static int edit_shaderfx_invoke_properties(bContext *C, wmOperator *op) -- cgit v1.2.3