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:
authorBastien Montagne <bastien@blender.org>2020-06-22 17:52:53 +0300
committerBastien Montagne <bastien@blender.org>2020-06-22 17:54:30 +0300
commit41158a91f2edcc8f7b29e5a0b37ef7a951908c3c (patch)
tree2c5ba5684629762379e8070cd91860044e057240 /source/blender/modifiers/intern/MOD_ui_common.c
parent461ba2c74cf25a20cc25ab9edd7aace82e5557d2 (diff)
Fix (unreported) broken UI of modifiers for liboverrides.
Broken in recent refactor of modifiers UI code...
Diffstat (limited to 'source/blender/modifiers/intern/MOD_ui_common.c')
-rw-r--r--source/blender/modifiers/intern/MOD_ui_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_ui_common.c b/source/blender/modifiers/intern/MOD_ui_common.c
index a05d5383391..d6c9d7b3cb7 100644
--- a/source/blender/modifiers/intern/MOD_ui_common.c
+++ b/source/blender/modifiers/intern/MOD_ui_common.c
@@ -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);
}