New options for specifying unit line thickness.
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Tue, 10 Apr 2012 23:53:46 +0000 (23:53 +0000)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Tue, 10 Apr 2012 23:53:46 +0000 (23:53 +0000)
commit5f02b167d191969474c8f3575abdd6dbaeffeb57
treec6af52cbefd00519d2879486c768ba02cf4e4769
parent826a09300a6ac270157b8735c2dd29f753b85235
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.
12 files changed:
release/scripts/startup/bl_ui/properties_render.py
source/blender/blenloader/intern/readfile.c
source/blender/freestyle/intern/application/AppCanvas.cpp
source/blender/freestyle/intern/application/AppCanvas.h
source/blender/freestyle/intern/application/AppView.h
source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
source/blender/freestyle/intern/stroke/Stroke.cpp
source/blender/freestyle/intern/stroke/Stroke.h
source/blender/freestyle/intern/stroke/StrokeLayer.cpp
source/blender/freestyle/intern/stroke/StrokeLayer.h
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/intern/rna_scene.c