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:
authorJulian Eisel <eiseljulian@gmail.com>2017-05-05 01:44:06 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-05-05 01:44:06 +0300
commit839bf119c1a774b47583db098ed6fd1fc4bb34c6 (patch)
tree1cd6ad9c9dbed0655c1255b9aab5d3f7eba5a13e /source/blender/editors/interface/interface_templates.c
parent57bcc19bb389e682d14032398138966329deb52a (diff)
Revert "Add red alert in UI controls for datablock pointer properties"
This reverts commit f5bc8ad4ce87165fc0648f1cd8c0ae1fb5f07281. We agreed there needs to be a better solution for this, see comments in rBf5bc8ad4ce87165.
Diffstat (limited to 'source/blender/editors/interface/interface_templates.c')
-rw-r--r--source/blender/editors/interface/interface_templates.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index a3541e641ed..131584dd405 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -451,11 +451,6 @@ static void template_ID(
but = uiDefButR(block, UI_BTYPE_TEXT, 0, name, 0, 0, UI_UNIT_X * 6, UI_UNIT_Y,
&idptr, "name", -1, 0, 0, -1, -1, RNA_struct_ui_description(type));
UI_but_funcN_set(but, template_id_cb, MEM_dupallocN(template), SET_INT_IN_POINTER(UI_ID_RENAME));
-
- but->search_func = id_search_cb;
- but->search_arg = template;
- ui_but_search_refresh(but, true);
-
if (user_alert) UI_but_flag_enable(but, UI_BUT_REDALERT);
if (id->lib) {