soupday / CCiC-Blender-Pipeline-Plugin

Python plugin for CC4 and iClone8 to re-import character exports from CC3/CC4 Blender Tools auto-setup add-on.
GNU General Public License v3.0
100 stars 15 forks source link

Error on import character in Blender 4.0.1 #16

Open mccloudmedia opened 10 months ago

mccloudmedia commented 10 months ago

I'm trying to migrate over to Blender 4 but when attempting to import the character using the addon I get the following errors. I've no problem using previous versions of Blender for now, but I thought you might want to know.

blenderkit INFO: Daemon is running on port 62485! [09:39:51.775, timer.py:86] cc_blender_tools_updater updater: Running background check for update FBX version: 7200 Traceback (most recent call last): File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\importer.py", line 1043, in modal self.run_import(context) File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\importer.py", line 948, in run_import self.import_character() File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\importer.py", line 725, in import_character rigidbody.build_rigid_body_colliders(self.imported_character, json_data, first_import = True) File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\rigidbody.py", line 913, in build_rigid_body_colliders arm_settings = bones.store_armature_settings(arm) File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\bones.py", line 573, in store_armature_settings layers.append(rig.data.layers[i]) AttributeError: 'Armature' object has no attribute 'layers' Error: Python: Traceback (most recent call last): File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\importer.py", line 1043, in modal self.run_import(context) File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\importer.py", line 948, in run_import self.import_character() File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\importer.py", line 725, in import_character rigidbody.build_rigid_body_colliders(self.imported_character, json_data, first_import = True) File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\rigidbody.py", line 913, in build_rigid_body_colliders arm_settings = bones.store_armature_settings(arm) File "C:\Users\table\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-1_6_0_4\bones.py", line 573, in store_armature_settings layers.append(rig.data.layers[i]) AttributeError: 'Armature' object has no attribute 'layers'

Thank you! -Jeremy