[Bf-blender-cvs] [a069b8d] master: Rename stamp panel to metadata panel.
Antony Riakiotakis
noreply at git.blender.org
Wed Apr 22 12:36:05 CEST 2015
Commit: a069b8d5d8195b9eb517c604f151366b51578d1e
Author: Antony Riakiotakis
Date: Wed Apr 22 12:35:59 2015 +0200
Branches: master
https://developer.blender.org/rBa069b8d5d8195b9eb517c604f151366b51578d1e
Rename stamp panel to metadata panel.
Rationale - this panel also enables metadata that get written on files.
Also moved draw_stamp property in the panel - to make it clearer it only
controls the drawing, not individual metadata.
===================================================================
M release/scripts/startup/bl_ui/properties_render.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 6908668..0c68d98 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -334,28 +334,25 @@ class RENDER_PT_post_processing(RenderButtonsPanel, Panel):
class RENDER_PT_stamp(RenderButtonsPanel, Panel):
- bl_label = "Stamp"
+ bl_label = "Metadata"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
- def draw_header(self, context):
- rd = context.scene.render
-
- self.layout.prop(rd, "use_stamp", text="")
-
def draw(self, context):
layout = self.layout
rd = context.scene.render
- layout.active = rd.use_stamp
+ layout.prop(rd, "use_stamp", text="Stamp Output")
+ col = layout.column()
+ col.active = rd.use_stamp
+ col.prop(rd, "stamp_font_size", text="Font Size")
- layout.prop(rd, "stamp_font_size", text="Font Size")
-
- row = layout.row()
+ row = col.row()
row.column().prop(rd, "stamp_foreground", slider=True)
row.column().prop(rd, "stamp_background", slider=True)
+ layout.label("Enabled Metadata")
split = layout.split()
col = split.column()
More information about the Bf-blender-cvs
mailing list