Empties with Images draw type: add support for movies and image sequences
This adds an ImageUser to such empties with all the typical settings. Reviewed By: brecht, campbellbarton Differential Revision: https://developer.blender.org/D108
This commit is contained in:

committed by
Brecht Van Lommel

parent
e9984653a8
commit
ff98be83a9
@@ -42,7 +42,11 @@ class DATA_PT_empty(DataButtonsPanel, Panel):
|
||||
layout.prop(ob, "empty_draw_type", text="Display")
|
||||
|
||||
if ob.empty_draw_type == 'IMAGE':
|
||||
layout.template_ID(ob, "data", open="image.open", unlink="image.unlink")
|
||||
layout.template_ID(ob, "data", open="image.open")
|
||||
layout.template_image(ob, "data", ob.image_user, compact=True)
|
||||
|
||||
row = layout.row(align=True)
|
||||
row = layout.row(align=True)
|
||||
|
||||
layout.prop(ob, "color", text="Transparency", index=3, slider=True)
|
||||
row = layout.row(align=True)
|
||||
|
Reference in New Issue
Block a user