fix [#29950] Linked proxy armature object properties can't be edited
[blender.git] / release / scripts / modules / rna_prop_ui.py
index 32c8ed11bc5cfdd9d8298f9f1a1314f5522e46bb..124387955395edea1a93a2c4ff1279d5f6bcda12 100644 (file)
@@ -92,6 +92,9 @@ def draw(layout, context, context_member, property_type, use_edit=True):
     if not rna_item:
         return
 
+    if rna_item.id_data.library is not None:
+        use_edit = False
+
     assert(isinstance(rna_item, property_type))
 
     items = rna_item.items()