Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10869 from EtherealEngine/fix-material-patch
Browse files Browse the repository at this point in the history
fix material patch
  • Loading branch information
DanielBelmes authored Aug 5, 2024
2 parents 1761fe1 + 3a221b9 commit 8c42964
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ export default function MaterialLibraryPanel() {
}
const resource = resources.data[0]
const tags = ['Material']
await Engine.instance.api.service(staticResourcePath).patch(resource.id, { tags: tags })
await Engine.instance.api
.service(staticResourcePath)
.patch(resource.id, { tags: tags, project: projectName })
console.log('exported material data to ', ...urls)
}}
>
Expand Down

0 comments on commit 8c42964

Please sign in to comment.