Fix [#34005] blender will close immediately in debug mode on deleting objects
authorSergej Reich <sergej.reich@googlemail.com>
Sat, 26 Jan 2013 17:38:45 +0000 (17:38 +0000)
committerSergej Reich <sergej.reich@googlemail.com>
Sat, 26 Jan 2013 17:38:45 +0000 (17:38 +0000)
commitc84383301c5a2582e95259a7e4468a23a3566401
tree1dd1df9d9cfb2cf5714f5ed5762f2cb5e2d56160
parent7e49a39acda5cdc86ce87470f7dc10cd80f1eba7
Fix [#34005] blender will close immediately in debug mode on deleting objects

Was silly mistake from rigidbody merge, base was used after it's been
freed.

Now don't free base in BKE_scene_base_remove() and rename it to
BKE_scene_base_unlink().
source/blender/blenkernel/BKE_scene.h
source/blender/blenkernel/intern/scene.c
source/blender/editors/object/object_add.c
source/blender/editors/object/object_relations.c
source/blender/makesrna/intern/rna_scene.c