Merge branch 'main' into Import-Anything
This commit is contained in:
+3
-2
@@ -7,6 +7,7 @@ from ..functions.translations import t
|
||||
from ..core.import_pmx import import_pmx
|
||||
from ..core.import_pmd import import_pmd
|
||||
from ..functions.import_anything import ImportAnyModel
|
||||
from ..core.common import get_selected_armature, set_selected_armature
|
||||
|
||||
@register_wrap
|
||||
class AvatarToolkitQuickAccessPanel(bpy.types.Panel):
|
||||
@@ -21,6 +22,8 @@ class AvatarToolkitQuickAccessPanel(bpy.types.Panel):
|
||||
layout = self.layout
|
||||
layout.label(text=t("Quick_Access.options"))
|
||||
|
||||
layout.prop(context.scene, "selected_armature", text="Select Armature")
|
||||
|
||||
row = layout.row()
|
||||
row.label(text=t("Quick_Access.import_export.label"), icon='IMPORT')
|
||||
|
||||
@@ -64,5 +67,3 @@ class AVATAR_TOOLKIT_OT_export_fbx(bpy.types.Operator):
|
||||
def execute(self, context):
|
||||
bpy.ops.export_scene.fbx('INVOKE_DEFAULT')
|
||||
return {'FINISHED'}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user