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

Commit

Permalink
auto tag material and prefab asset types on project upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dinomut1 committed May 28, 2024
1 parent 807c9ff commit 64abe83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/server-core/src/projects/project/project-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,9 @@ export const uploadLocalProjectToProvider = async (
AssetClass.Image,
AssetClass.Model,
AssetClass.Video,
AssetClass.Volumetric
AssetClass.Volumetric,
AssetClass.Material,
AssetClass.Prefab
]
const thisFileClass = AssetLoader.getAssetClass(file)
if (filePathRelative.startsWith('/assets/') && staticResourceClasses.includes(thisFileClass)) {
Expand Down

0 comments on commit 64abe83

Please sign in to comment.