Fix (unreported) broken UI of modifiers for liboverrides.
Broken in recent refactor of modifiers UI code...
This commit is contained in:
@@ -146,8 +146,7 @@ void modifier_panel_get_property_pointers(const bContext *C,
|
||||
}
|
||||
|
||||
uiBlock *block = uiLayoutGetBlock(panel->layout);
|
||||
UI_block_lock_set(
|
||||
block, BKE_object_obdata_is_libdata(ob) || ID_IS_LINKED(ob), ERROR_LIBDATA_MESSAGE);
|
||||
UI_block_lock_set(block, ID_IS_LINKED(ob), ERROR_LIBDATA_MESSAGE);
|
||||
|
||||
uiLayoutSetContextPointer(panel->layout, "modifier", r_md_ptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user