Revert "Add red alert in UI controls for datablock pointer properties"

This reverts commit f5bc8ad4ce.

We agreed there needs to be a better solution for this, see comments in
rBf5bc8ad4ce87165.
This commit is contained in:
Julian Eisel
2017-05-05 00:44:06 +02:00
parent 57bcc19bb3
commit 839bf119c1
5 changed files with 11 additions and 17 deletions

View File

@@ -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) {