修复眼形映射 3443/2 3443/head ln
authorxue <2144439972@qq.com>
Mon, 8 Jun 2026 10:36:16 +0000 (18:36 +0800)
committerxue <2144439972@qq.com>
Mon, 8 Jun 2026 10:36:16 +0000 (18:36 +0800)
code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp

index 76337b6..2cbba84 100644 (file)
@@ -90,12 +90,12 @@ namespace {
 // CloseEyes 内置资源目录中 calm-eyes / round-eyes 文件夹与业务眼型命名相反,仅映射内置眨眼资源
 static std::string MapCloseEyesResourceShape(const std::string &eyesShape)
 {
-    // if (eyesShape == "calm-eyes") {
-    //     return "round-eyes";
-    // }
-    // if (eyesShape == "round-eyes") {
-    //     return "calm-eyes";
-    // }
+    if (eyesShape == "calm-eyes") {
+        return "round-eyes";
+    }
+    if (eyesShape == "round-eyes") {
+        return "calm-eyes";
+    }
     return eyesShape;
 }