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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user