feat(importing): Add better FBX bone orientations operator and accessory bone deletion
- Add new `apply_better_fbx_orientations` operator as standalone UI action for applying bone orientations - Add "Delete Accessory Bones" property and UI toggle in EXTRAS panel for optional bone cleanup - Move bone orientation logic from `modify_armature` execute method to new dedicated operator - Refactor accessory bone deletion into separate method callable from new operator - Update panel UI to show better FBX bones operator with delete accessory bones toggle option - Register new operator in `__init__.py` and export from modifyarmature module - Update interface dictionaries (English, Japanese, Chinese) with new UI strings - Enable better FBX orientations and accessory deletion only for Koikatsu armature (C) selection - Add detailed logging for bone operation counts and status tracking
This commit is contained in:
@@ -25,7 +25,7 @@ def reg_unreg(register_bool):
|
||||
|
||||
from .importing.importbuttons import kkbp_import
|
||||
from .importing.modifymesh import modify_mesh
|
||||
from .importing.modifyarmature import modify_armature
|
||||
from .importing.modifyarmature import modify_armature, apply_better_fbx_orientations
|
||||
from .importing.modifymaterial import modify_material
|
||||
from .importing.postoperations import post_operations
|
||||
|
||||
@@ -53,6 +53,7 @@ def reg_unreg(register_bool):
|
||||
from .extras.resetmaterials import reset_materials
|
||||
from .extras.linkhair import link_hair
|
||||
|
||||
|
||||
from . KKPanel import PlaceholderProperties
|
||||
from . KKPanel import (
|
||||
IMPORTINGHEADER_PT_panel,
|
||||
@@ -88,9 +89,11 @@ def reg_unreg(register_bool):
|
||||
reset_materials,
|
||||
link_hair,
|
||||
|
||||
|
||||
kkbp_import,
|
||||
modify_mesh,
|
||||
modify_armature,
|
||||
apply_better_fbx_orientations,
|
||||
modify_material,
|
||||
post_operations,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user