Skip to content

Commit

Permalink
Rename MMDDataQuery to MMDTranslation
Browse files Browse the repository at this point in the history
  • Loading branch information
UuuNyaa committed Dec 25, 2021
1 parent b973e8f commit 550f1a4
Show file tree
Hide file tree
Showing 6 changed files with 341 additions and 348 deletions.
8 changes: 4 additions & 4 deletions mmd_tools/core/pmx/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1206,12 +1206,12 @@ def __loadMeshData(self, meshObj, bone_map):
m.show_viewport = show

def __translate_armature(self, root_object: bpy.types.Object):
FnTranslations.clear_data(root_object.mmd_data_query)
FnTranslations.collect_data(root_object.mmd_data_query)
FnTranslations.update_query(root_object.mmd_data_query)
FnTranslations.clear_data(root_object.mmd_translation)
FnTranslations.collect_data(root_object.mmd_translation)
FnTranslations.update_query(root_object.mmd_translation)
FnTranslations.execute_translation_batch(root_object)
FnTranslations.apply_translations(root_object)
FnTranslations.clear_data(root_object.mmd_data_query)
FnTranslations.clear_data(root_object.mmd_translation)

def execute(self, filepath, **args):
root = args.get('root', None)
Expand Down
Loading

0 comments on commit 550f1a4

Please sign in to comment.