diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-11-06 16:23:44 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-11-06 16:23:44 +0400 |
commit | 72cfdfec3083cbb756ff07c860293be9ca25f8b4 (patch) | |
tree | 66c7932624d537fc008b244b58c5ad11547d6dee /source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.h | |
parent | ea11efb082ccc4449db3c91f71ae623c29a88c51 (diff) |
Fix for a crash when two scenes in the compositor have different render
resolution (i.e., image width and height, scaled by the size factor).
Problem report by flokkievids together with a .blend file for reproducing
the bug, thanks!
Diffstat (limited to 'source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.h')
-rw-r--r-- | source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.h b/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.h index 40d87ce53a1..b7d8c5b95d7 100644 --- a/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.h +++ b/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.h @@ -35,6 +35,7 @@ protected: Scene* old_scene; Scene* freestyle_scene; Material* material; + float _width, _height; float _z, _z_delta; float get_stroke_vertex_z(void) const; |