New options for specifying unit line thickness.
The Post Processing tab in the Render buttons has new Line Thickness options for defining unit line thickness in two different modes as follows: 1. Absolute mode: The unit line thickness is given by a user-specified number in units of pixels. The default value is 1. 2. Relative mode: The unit line thickness is scaled by the proportion of the present vertical image resolution to 480 pixels. For instance, the unit line thickness is 1 with the image height set to 480, 1.5 with 720, and 2 with 960.
This commit is contained in:
@@ -946,8 +946,17 @@ class RENDER_PT_post_processing(RenderButtonsPanel, Panel):
|
||||
layout.separator()
|
||||
|
||||
split = layout.split()
|
||||
|
||||
col = split.column()
|
||||
col.prop(rd, "use_freestyle", text="Freestyle")
|
||||
sub = col.column()
|
||||
sub.label(text="Line Thickness:")
|
||||
sub.active = rd.use_freestyle
|
||||
sub.row().prop(rd, "line_thickness_mode", expand=True)
|
||||
subrow = sub.row()
|
||||
subrow.active = (rd.line_thickness_mode == "ABSOLUTE")
|
||||
subrow.prop(rd, "unit_line_thickness")
|
||||
|
||||
|
||||
class RENDER_PT_stamp(RenderButtonsPanel, Panel):
|
||||
bl_label = "Stamp"
|
||||
|
||||
Reference in New Issue
Block a user