From 7cd73a8c96ef4b463dea59590d18f97ab8523c72 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 27 Nov 2023 15:49:22 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/ws_render_image.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,