diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-26 23:23:03 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-26 23:23:03 +0400 |
commit | 2daa901ec025e30818a977664e64ab99e1fcf23e (patch) | |
tree | 21cf7ccbe2f934920d9434c3d36eca8fc06d1a56 /source/blender/render/intern | |
parent | ca51930a90056aa3a65dcfc086ddd9ad19dcdf0f (diff) |
Fix #35883: freestyle + envmap render crashed.
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/source/envmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/envmap.c b/source/blender/render/intern/source/envmap.c index 4fba67cf711..3111c4c079e 100644 --- a/source/blender/render/intern/source/envmap.c +++ b/source/blender/render/intern/source/envmap.c @@ -157,6 +157,7 @@ static Render *envmap_render_copy(Render *re, EnvMap *env) envre->r.yasp = envre->r.xasp = 1; RE_InitState(envre, NULL, &envre->r, NULL, cuberes, cuberes, NULL); + envre->main = re->main; envre->scene = re->scene; /* unsure about this... */ envre->scene_color_manage = re->scene_color_manage; envre->lay = re->lay; |