diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-12-31 12:49:58 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-12-31 12:49:58 +0300 |
commit | 16e1bbf1dbbefde14533b0de5b68ae3ac269e05c (patch) | |
tree | a74d7cbc29113afebeb9d46e7101086d12ad439f /source | |
parent | 8a9e20495caf6e4185279dc6b7b016834c552064 (diff) |
Fix T47076: Memory issues when closing Blendera after Cycles baking
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/render/intern/source/external_engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/external_engine.c b/source/blender/render/intern/source/external_engine.c index 8adac7c7770..268865f8bce 100644 --- a/source/blender/render/intern/source/external_engine.c +++ b/source/blender/render/intern/source/external_engine.c @@ -44,6 +44,7 @@ #include "BKE_camera.h" #include "BKE_global.h" +#include "BKE_colortools.h" #include "BKE_report.h" #include "BKE_scene.h" @@ -457,6 +458,7 @@ void RE_bake_engine_set_engine_parameters(Render *re, Main *bmain, Scene *scene) * not sure how to fix this yet -- dfelinto */ BLI_listbase_clear(&re->r.layers); BLI_listbase_clear(&re->r.views); + curvemapping_copy_data(&re->r.mblur_shutter_curve, &scene->r.mblur_shutter_curve); } bool RE_bake_has_engine(Render *re) |