refactor(model):优化网格序列化逻辑并修复测试文件路径

- 使用Set避免重复序列化网格数据
- 在模型加载时自动补充缺失的网格引用
- 更新测试文件路径至统一的testing.model
- 移除冗余的部件位置设置代码
This commit is contained in:
tzdwindows 7
2025-10-25 17:41:29 +08:00
parent 3add504321
commit 5775bc5d7e
3 changed files with 17 additions and 20 deletions

View File

@@ -142,6 +142,7 @@ public class ModelLayerPanelTest {
renderPanel.dispose();
} catch (Throwable ignored) {
}
model.saveToFile("C:\\Users\\Administrator\\Desktop\\testing.model");
System.exit(0);
}
});