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-05-02 11:59:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-02 12:03:03 +0300
commit85dcdb87d2ee91844e1dc343b8bd48ace2717d77 (patch)
treec09448f6789a3e67101a9736aac8d4a2ceabca83 /source/blender/makesrna/intern/rna_ui_api.c
parent2bc9396b551ff15cb3fee3eca91aa6357d71ae33 (diff)
UI: fix operator redo showing empty popovers
Many operators have no options, showing a popover button with no content isn't good.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_ui_api.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c
index cb72e237577..d980696c3ee 100644
--- a/source/blender/makesrna/intern/rna_ui_api.c
+++ b/source/blender/makesrna/intern/rna_ui_api.c
@@ -811,10 +811,6 @@ void RNA_api_ui_layout(StructRNA *srna)
parm = RNA_def_pointer(func, "layout", "UILayout", "", "Sub-layout to put items in");
RNA_def_function_return(func, parm);
- func = RNA_def_function(srna, "template_operator_redo_props", "uiTemplateOperatorRedoProperties");
- RNA_def_function_flag(func, FUNC_USE_CONTEXT);
- RNA_def_function_ui_description(func, "Adds properties of the last executed operator using redo");
-
func = RNA_def_function(srna, "template_constraint", "uiTemplateConstraint");
RNA_def_function_ui_description(func, "Generates the UI layout for constraints");
parm = RNA_def_pointer(func, "data", "Constraint", "", "Constraint data");