diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-04-11 10:16:03 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-04-11 10:16:46 +0400 |
commit | 716803c0a0cc99cb30b4caee0364239889cf82e8 (patch) | |
tree | 7168ed8204abf91b2ddca5a92e2e8c6d62c41624 /source/blender/editors/screen/screen_intern.h | |
parent | 88298f1c40c2d3d504ee5d441628c0a42b74ec1a (diff) |
Fix for Sinus Displacement and 2D Offset stroke geometry modifiers.
These modifiers were not working properly when they were applied to strokes
whose backbone was already modified by other geometry shaders. This problem
was due to the use of Normal2DF0D that compute 2D vertex normals based on
the underlying FEdges up on which initial stroke geometry is defined. Now vertex
normals are computed on the basis of modified stroke vertices.
A helper function 'stroke_normal' for computing normals of stroke vertices was
added to the 'freestyle.utils' API module.
Diffstat (limited to 'source/blender/editors/screen/screen_intern.h')
0 files changed, 0 insertions, 0 deletions