diff options
author | Sonny Campbell <SonnyCampbell_Unity> | 2022-06-14 13:16:40 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2022-06-14 13:29:56 +0300 |
commit | d209629806aa8c3cd688082027ac5e8f6fefc206 (patch) | |
tree | 12b4c854157cd573f5d25bec5f2fc60cae1cf23a /source/blender/draw/intern/draw_subdivision.h | |
parent | 28f4fc664fbf872e72cf8fb9b5b96394c2ff2dfc (diff) |
Fix T85729: Crash when exporting for USD and Alembic
Ensure the "null" node graph, which is the root node of the export
graph, always exists.
The crash occured when "Use Settings For" was set to Render, "Visible
Objects Only" was ticked, and a single parent object is in the scene but
disabled for render.
Because the only object attached to the root of the project was disabled
for export, there was no "null" root node added to the export graph.
This change will always add an empty "null" node with no children to the
graph at the start. Other objects will get added to its children as
required.
Reviewed By: sybren
Maniphest Tasks: T85729
Differential Revision: https://developer.blender.org/D15182
Diffstat (limited to 'source/blender/draw/intern/draw_subdivision.h')
0 files changed, 0 insertions, 0 deletions