Blender Git Commit Log

Git Commits -> Revision 2f9a0df

Revision 2f9a0df by Dalai Felinto (master)
February 24, 2017, 09:10 (GMT)
Fix T50714: Collections: Adding object to scene without an existing collection

This was causing blender to segfault.

We now add create a new collection and link to the layer before adding
the new object

(also included unittests, and requires updated lib/tests)

Commit Details:

Full Hash: 2f9a0dfe6429661f1d4bdf28398504df7fe98beb
Parent Commit: 8261a84
Lines Changed: +164, -1

3 Added Paths:

/tests/python/render_layer/test_object_add_no_collection_cylinder.py (+40, -0) (View)
/tests/python/render_layer/test_object_add_no_collection_empty.py (+39, -0) (View)
/tests/python/render_layer/test_object_add_no_collection_torus.py (+39, -0) (View)

4 Modified Paths:

/release/scripts/modules/bpy_extras/object_utils.py (+8, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+8, -0) (Diff)
/tests/python/render_layer/CMakeLists.txt (+3, -0) (Diff)
/tests/python/render_layer/render_layer_common.py (+27, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021