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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-08 16:57:20 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-08 18:46:20 +0300
commite6d11c6ce66f94549d1fe896c59b67564ae19d68 (patch)
treebabe12f8b03d92d1a43d880e044bca2394ecd118 /source/blender/makesrna/intern/rna_ui_api.c
parent03dd109a84657ebf778dc3c25776f7a93cccf1ac (diff)
Collections: remove per collection and view layer engine overrides.
This will be handled by the new view layer override system which will store data elsewhere, removing the code already for easier refactoring.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_ui_api.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c
index d980696c3ee..d61f6166889 100644
--- a/source/blender/makesrna/intern/rna_ui_api.c
+++ b/source/blender/makesrna/intern/rna_ui_api.c
@@ -1013,16 +1013,6 @@ void RNA_api_ui_layout(StructRNA *srna)
parm = RNA_def_pointer(func, "item", "KeyMapItem", "", "");
RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED | PARM_RNAPTR);
- func = RNA_def_function(srna, "template_override_property", "uiTemplateOverrideProperty");
- parm = RNA_def_pointer(func, "collection_render_overrides", "AnyType", "", "");
- RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED | PARM_RNAPTR);
- parm = RNA_def_pointer(func, "scene_collection_properties", "AnyType", "", "");
- RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED | PARM_RNAPTR);
- parm = RNA_def_string(func, "property", NULL, 0, "", "Identifier of property in collection_properties");
- RNA_def_parameter_flags(parm, 0, PARM_REQUIRED);
- api_ui_item_common(func);
- parm = RNA_def_string(func, "custom_template", NULL, 0, "", "Optional template to use for property");
-
func = RNA_def_function(srna, "template_component_menu", "uiTemplateComponentMenu");
RNA_def_function_ui_description(func, "Item. Display expanded property in a popup menu");
parm = RNA_def_pointer(func, "data", "AnyType", "", "Data from which to take property");