feat(render): 添加二级顶点编辑面板与相关工具支持

- 新增 SecondaryVertexPanel 用于显示和编辑二级顶点属性
- 在 MainWindow 中集成 SecondaryVertexPanel 并调整右侧面板布局- 添加顶点变形工具的 ChangeListener 支持,实现顶点操作回调
- 引入 ToolManagement 工具切换监听器机制
- 实现 ModelRenderPanel 的 switchToDefaultTool 方法
- 添加加载/保存模型时的进度条提示
- 优化顶点拖拽逻辑并移除冗余的坐标记录
- 更新 build.gradle 添加 swingx 依赖
- 清理无用导入和代码格式优化
This commit is contained in:
tzdwindows 7
2025-11-08 12:57:55 +08:00
parent b17bd500f2
commit 3b4b1b1b26
9 changed files with 584 additions and 63 deletions

View File

@@ -74,7 +74,6 @@ public final class TextRenderer {
shader.use();
try {
// 烘焙 ASCII
asciiCharData = STBTTBakedChar.malloc(charCount);
ByteBuffer asciiBitmap = ByteBuffer.allocateDirect(bitmapWidth * bitmapHeight);
int asciiRes = stbtt_BakeFontBitmap(fontData, fontHeight, asciiBitmap,