Skip to content

Add Blender-like SuperView manipulator, Skeleton tool enhancements, and VMD fixes#306

Closed
Szy-Cathay wants to merge 2 commits intodonkeyProgramming:masterfrom
Szy-Cathay:master
Closed

Add Blender-like SuperView manipulator, Skeleton tool enhancements, and VMD fixes#306
Szy-Cathay wants to merge 2 commits intodonkeyProgramming:masterfrom
Szy-Cathay:master

Conversation

@Szy-Cathay
Copy link
Contributor

@Szy-Cathay Szy-Cathay commented Mar 21, 2026

  • Blender-like 3D Manipulator in SuperView:
    Added comprehensive hotkeys (G/R/X/Y/Z/Shift) for 3D translation, rotation, and undo operations to provide a Blender-like experience.

    • Press G + drag the mouse to move the position.
    • Press R + drag the mouse to rotate.
    • Press G or R, then press X, Y, or Z to lock the movement/rotation to the respective axis.
    • Press G or R, then hold Shift while dragging to perform extremely slow, fine-tuned adjustments.
  • Skeleton Tool Enhancements:

    • Now supports screen-space dragging, rotation, and undo (via Ctrl+Z).
    • Added a dedicated Undo GUI button.
    • Added automatic window focus detection to prevent accidental inputs/operations.
  • SuperView Meta Tag Batch Operations:

    • The Delete, Move Up, and Move Down commands for Meta tags now support multi-selection batch operations.
  • VMD File Compatibility & Bone Snapping Fixes:

    • Fixed animation and bone snapping compatibility issues when reading .vmd files in Kitbash and SuperView.
    • Now supports snapping via bone name or index.
    • Fixed an issue where snapping would be lost when the animation is paused.

Comprehensive UI Localization & Enhanced Multi-language Support

This PR transitions a wide range of UI strings—including buttons, labels, menus, window titles, and tooltips—from hardcoded English to {loc:Loc ...} based localization resource bindings. This significantly boosts AssetEditor's i18n (internationalization) capabilities.

The changes affect XAML view files across multiple modules, including:

  • Main Menu & Settings
  • Animation Editor
  • Batch Export & FBX Import
  • Bone Mapping

Additionally, I’ve enhanced the LocExtension to support parameterless constructors and optimized the fallback logic for missing translations. All UI text is now centrally managed via localization resource files, providing a solid foundation for future maintenance and expansion.

I've also tested the changes across various modules to ensure there is no regression in existing UI rendering.

- SuperView编辑器新增G/R/X/Y/Z/Shift等快捷键,支持3D拖拽/旋转/撤销,操作体验类Blender
- 骨骼编辑器支持屏幕空间拖拽、旋转、撤销(Ctrl+Z)、撤销按钮,自动检测窗口焦点防误操作
- 新增CachedTabControl,Tab切换内容缓存,提升性能
- 删除/上移/下移命令支持多选批量操作
- 动画与骨骼吸附兼容性修复,支持骨骼名/索引,暂停时吸附不丢失
- 细节优化:特效可视化轴向跟随旋转,Tab失焦高亮修复,按钮布局统一
- 代码大量注释,便于维护
本次提交将大量界面文本(按钮、标签、菜单、窗口标题、提示等)从硬编码英文替换为基于 `{loc:Loc ...}` 的本地化资源绑定,显著提升了 AssetEditor 的国际化能力。涉及主菜单、设置、动画编辑器、批量导出、骨骼映射、FBX 导入等多个模块的 XAML 视图文件。
同时增强了 LocExtension,支持无参构造并优化了翻译缺失时的处理。所有界面文本现可通过本地化资源文件统一管理和切换,为多语言维护和扩展打下坚实基础。
@Szy-Cathay Szy-Cathay closed this by deleting the head repository Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant