Skip to content

Commit

Permalink
Merge pull request #2318 from KhronosGroup/fix_2317
Browse files Browse the repository at this point in the history
fix_2317
  • Loading branch information
julienduroure committed Aug 30, 2024
2 parents 84ed2f8 + 3c27b92 commit e3574a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/io_scene_gltf2/blender/exp/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ def recursive_node_traverse(self, blender_object, blender_bone, parent_uuid, par
self.recursive_node_traverse(dupl, None, node.uuid, parent_coll_matrix_world, new_delta or delta, blender_children, dupli_world_matrix=mat)

# Geometry Nodes instances
if self.export_settings['gltf_gn_mesh'] is True:
# Make sure to not check instances for instanced collection, because we will export what's inside the collection twice
if self.export_settings['gltf_gn_mesh'] is True and node.blender_type == VExportNode.OBJECT:
# Do not force export as empty
# Because GN graph can have both geometry and instances
depsgraph = bpy.context.evaluated_depsgraph_get()
Expand Down

0 comments on commit e3574a8

Please sign in to comment.