UI: adjust of "Edit Linked Library" to use new UI layout

Differential Revision: https://developer.blender.org/D4351
This commit is contained in:
Brecht Van Lommel
2019-05-01 17:41:13 +02:00
parent 175202efb2
commit b84e97d767

View File

@ -176,8 +176,10 @@ class VIEW3D_PT_PanelLinkedEdit(bpy.types.Panel):
layout.prop(scene, "use_instance")
def draw(self, context: bpy.context):
layout = self.layout
scene = context.scene
layout = self.layout
layout.use_property_split = True
layout.use_property_decorate = False
icon = "OUTLINER_DATA_" + context.active_object.type
target = None