diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-01-29 07:12:49 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-01-29 07:12:49 +0400 |
commit | 8f969fdc40cded16ec58f6810585411adbb5538d (patch) | |
tree | 23d4fd70b94b2f148c7a1743cb3760ab82bbb473 /source/blender/blenkernel/intern/anim_sys.c | |
parent | 6ff0d15e5a4786cffbf471ffe67f8d5916fccc97 (diff) |
Fix for a crash when freeing copied scenes.
The problem was caused by the fact that BKE_scene_copy() was simply doing "memcpy"
to duplicate render layers including lineset settings without taking care of pointers
in the linesets. For this reason, freeing the original scene and copied one resulted
in freeing allocated memory buffers twice.
Now BKE_scene_copy() properly duplicates linesets as part of render layers.
Also some code clean-up was made in the modified files.
Problem report by IRIE Shinsuke (with a patch to fix the crash). Many thanks!
Diffstat (limited to 'source/blender/blenkernel/intern/anim_sys.c')
0 files changed, 0 insertions, 0 deletions