Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/platform/assets/utils/createModelNodeFromAsset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,11 @@ export function createModelNodeFromAsset(
}
}

targetGraph.add(node)
// Set widget value BEFORE adding to graph so the node is created with correct value
widget.value = filename

// Now add the node to the graph with the correct widget value already set
targetGraph.add(node)

return { success: true, value: node }
}