Blender Git Commit Log

Git Commits -> Revision a8ad736

Revision a8ad736 by Dalai Felinto (temp-tab_drag_drop, topbar)
February 28, 2017, 00:21 (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: a8ad73668290f87b9e60b332c3e6d3c6cf2cb6a8
Parent Commit: a097123
Committed By: Julian Eisel
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