From 2e12a9190f431565e576d0b05866366d15bcc9ae Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 23 六月 2022 11:07:37 +0800
Subject: [PATCH] 修复场景闪退问题

---
 HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
index 9f22925..0196aa6 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
@@ -482,6 +482,13 @@
                     scene.functions.Remove(scenefunction);
                     continue;
                 }
+                //灏唖pk瀹炰綋閲岄潰鐨刴in max鍊兼斁鍏ュ満鏅姛鑳藉疄浣撻噷锛岃涓嶇劧鏁版嵁浼氫涪澶� 2022-06-21 16:06:45
+                foreach (var tt in scenefunction.status) {
+                    tt.min = scenefunction.localFunction.GetAttribute(tt.key).min;
+                    tt.max = scenefunction.localFunction.GetAttribute(tt.key).max;
+                    tt.valueList = scenefunction.localFunction.GetAttribute(tt.key).value;
+                }
+
                 i++;
                 var row = new RowLayout()
                 {

--
Gitblit v1.8.0