absolute-quantum / cats-blender-plugin

:smiley_cat: A tool designed to shorten steps needed to import and optimize models into VRChat. Compatible models are: MMD, XNALara, Mixamo, DAZ/Poser, Blender Rigify, Sims 2, Motion Builder, 3DS Max and potentially more
https://catsblenderplugin.com
MIT License
3.46k stars 451 forks source link

import model error #573

Open Rochiee opened 1 year ago

Rochiee commented 1 year ago

bpy.ops.object.delete(use_global=False, confirm=False)

Deleted 3 object(s)

bpy.context.space_data.system_folders_active = 1

bpy.ops.cats_importer.import_any_model(filepath="D:\Download\フィッシュル\フィッシュル.pmx", files=[{"name":"フィッシュル.pmx", "name":"フィッシュル.pmx"}], directory="D:\Download\フィッシュル\")

bpy.context.space_data.recent_folders_active = 0

bpy.context.space_data.recent_folders_active = 3

Traceback (most recent call last): File "C:\Users\ASUS X441UV\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\cats-blender-plugin-0-18-0\extern_tools\mmd_tools_local\operators\fileio.py", line 159, in execute self.translator = DictionaryEnum.get_translator(self.dictionary) File "C:\Users\ASUS X441UV\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\cats-blender-plugin-0-18-0\extern_tools\mmd_tools_local\translations.py", line 323, in get_translator return getTranslator(dictionary) File "C:\Users\ASUS X441UV\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\cats-blender-plugin-0-18-0\extern_tools\mmd_tools_local\translations.py", line 171, in getTranslator elif csvfile in bpy.data.texts: TypeError: bpy_prop_collection.contains__: expected a string or a tuple of strings

bpy.ops.mmd_tools.import_model(filepath="D:\Download\フィッシュル\フィッシュル.pmx")

Rochiee commented 1 year ago

any help pls..