0
0
forked from blender/blender
blender/source
Hans Goudey 40a5e739e2 Fix #119873: Bake node crash with instanced light objects
4d0936c7d7 explicitly avoids turning non-geometry object
instances into geometry instances. This code is called to prepare
geometry sets for baking, and baking currently assumes that the baked
instances are always geometry sets.

To fix this, just check the instance type and serialize an empty
geometry set for the crashing object instance case. Compared to before
the crash causing commit, there is no change in behavior, since that
would have created empty geometry sets too.

Pull Request: blender/blender#119892
2024-03-25 21:42:07 +01:00
..
blender Fix #119873: Bake node crash with instanced light objects 2024-03-25 21:42:07 +01:00
creator Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
CMakeLists.txt Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00