From 64abe830c379f2a9accc03aff5442de75b31a3e9 Mon Sep 17 00:00:00 2001 From: David Gordon Date: Tue, 28 May 2024 15:56:52 -0700 Subject: [PATCH] auto tag material and prefab asset types on project upload --- packages/server-core/src/projects/project/project-helper.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/server-core/src/projects/project/project-helper.ts b/packages/server-core/src/projects/project/project-helper.ts index e41dbc073e..c72bf4f345 100644 --- a/packages/server-core/src/projects/project/project-helper.ts +++ b/packages/server-core/src/projects/project/project-helper.ts @@ -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)) {