merge with trunk r39216
This commit is contained in:
@@ -41,11 +41,9 @@ class DATA_PT_empty(DataButtonsPanel, bpy.types.Panel):
|
||||
layout.prop(ob, "empty_draw_type", text=_("Display"))
|
||||
|
||||
if ob.empty_draw_type == 'IMAGE':
|
||||
# layout.template_image(ob, "data", None)
|
||||
layout.template_ID(ob, "data", open="image.open", unlink="image.unlink")
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(ob, "color", text=_("Transparency"), index=3, slider=True)
|
||||
layout.prop(ob, "color", text=_("Transparency"), index=3, slider=True)
|
||||
row = layout.row(align=True)
|
||||
row.prop(ob, "empty_image_offset", text=_("Offset X"), index=0)
|
||||
row.prop(ob, "empty_image_offset", text=_("Offset Y"), index=1)
|
||||
|
Reference in New Issue
Block a user