Blender Git Loki

Git Commits -> Revision 8f969fd

Revision 8f969fd by Tamito Kajiyama (master)
January 29, 2013, 03:12 (GMT)
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!

Commit Details:

Full Hash: 8f969fdc40cded16ec58f6810585411adbb5538d
SVN Revision: 54172
Parent Commit: 6ff0d15
Lines Changed: +98, -14

5 Modified Paths:

/source/blender/blenkernel/intern/scene.c (+18, -2) (Diff)
/source/blender/freestyle/FRS_freestyle.h (+4, -1) (Diff)
/source/blender/freestyle/FRS_freestyle_config.h (+4, -2) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+71, -8) (Diff)
/source/blender/render/intern/source/render_result.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021