Skip to content

Commit

Permalink
Update AddRenderButton.py
Browse files Browse the repository at this point in the history
Added Display option to the panel.
  • Loading branch information
Mitsuma committed Mar 1, 2019
1 parent fc5d111 commit c2d52a1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion AddRenderButton.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bl_info = {
"name": "Blender 2.8b RenderButtons",
"author": "Mitsuma",
"version": (0, 0, 1),
"version": (0, 0, 2),
"blender": (2, 80, 0),
"location": "Render Properties",
"description": "",
Expand Down Expand Up @@ -29,6 +29,13 @@ def draw(self, context):
row = layout.row(align=True)
row.operator("render.render", text="Render", icon='RENDER_STILL')
row.operator("render.render", text="Animation", icon='RENDER_ANIMATION').animation = True

split = layout.split()

split.label(text="Display:")
row = split.row(align=True)
row.prop(rd, "display_mode", text="")
row.prop(rd, "use_lock_interface", icon_only=True)

def register():
bpy.utils.register_class(AddRenderPanel)
Expand Down

0 comments on commit c2d52a1

Please sign in to comment.