fix issues

- disable bmx import/export temporaryly
- optimize the ui display of importing/exporting. (use box to organize props)
- place button horizontally, not vertically in virtools material.
- disallow apply in legacy align if no axis selected.
- add applied step counter in legacy alignment.
- add feedback for reseting bme material/component. (add a message box to show success)
This commit is contained in:
2024-01-01 13:07:10 +08:00
parent 318d661ac1
commit 680f367a42
12 changed files with 172 additions and 64 deletions

View File

@ -373,7 +373,8 @@ class VirtoolsGroupConvention():
case BallanceObjectType.COMPONENT:
# group into component type
gp.add_group(info.mComponentType)
# use typing.cast() to force linter accept it because None is impossible
gp.add_group(typing.cast(str, info.mComponentType))
# group to sector
if info.mSector == 9: