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 Sep 26, 2024
1 parent 1c5d4f2 commit 1bed965
Showing 1 changed file with 2 additions and 1 deletion.
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 1bed965

Please sign in to comment.