diff --git a/server/websocket/internal/logic/ws_render_image.go b/server/websocket/internal/logic/ws_render_image.go index 9af5620c..5c9a8285 100644 --- a/server/websocket/internal/logic/ws_render_image.go +++ b/server/websocket/internal/logic/ws_render_image.go @@ -414,7 +414,7 @@ func (w *wsConnectItem) assembleRenderDataToUnity(taskId string, resolution int, }) } //××××××××××××××××××××××××××××××××××××××××××××××××××××× - if w.userId == 127 { + if w.userId == 127 && info.RenderData.ProductId == 32 { if element.Base != nil && *element.Base != "" { tempData = append(tempData, map[string]interface{}{ "name": "model_1", @@ -491,7 +491,7 @@ func (w *wsConnectItem) assembleRenderDataToUnity(taskId string, resolution int, }, } //************************** - if w.userId == 127 { + if w.userId == 127 && info.RenderData.ProductId == 32 { result = []interface{}{ map[string]interface{}{ "light": 22,