Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-16 01:41:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-16 01:42:36 +0300
commit8efd7be41c100fbbd7aff7cb3cf17a97039954a7 (patch)
tree385c03b05ab0ae260eae492c8997aacf65cc0b9b /source/blender/editors/object/object_shader_fx.c
parenta495df6b3b0757f2497ee41c180b80c35b32f950 (diff)
UI: hide redo panel for move up/down operators
Diffstat (limited to 'source/blender/editors/object/object_shader_fx.c')
-rw-r--r--source/blender/editors/object/object_shader_fx.c3
1 files changed, 2 insertions, 1 deletions
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)