Cycles: Fix crash in empty scenes
authorJulian Eisel <eiseljulian@gmail.com>
Tue, 9 Aug 2016 02:32:38 +0000 (04:32 +0200)
committerJulian Eisel <eiseljulian@gmail.com>
Tue, 9 Aug 2016 02:32:38 +0000 (04:32 +0200)
commitb53eca171158ea395af11e82a1be0c5158180c79
treea5d8b0f0afc4c6b6d31e75b5e85492dbc7ed0f4d
parent040fa75d7b9d796d2818d731934caf77e4288b7f
Cycles: Fix crash in empty scenes

To recreate, just delete default cube and render.

Simple fix, but @maiself or @sergey may want to double-check ;)
intern/cycles/render/object.cpp