Rokoko / rokoko-studio-live-blender

Rokoko Studio Live plugin for Blender
GNU Lesser General Public License v3.0
326 stars 38 forks source link

Live Stream crash on Blender 3.3.1 #100

Closed MostHostLA closed 1 year ago

MostHostLA commented 1 year ago

File "rokoko-studio-live-blender-master\operators\receiver.py", line 31, in modal receiver.run()

File "rokoko-studio-live-blender-master\core\receiver.py", line 54, in run error, force_error = self.process_data(data_raw

File "rokoko-studio-live-blender-master\core\receiver.py", line 93, in process_data animations.animate()

File "rokoko-studio-live-blender-master\core\animations.py", line 28, in animate animate_actor(obj)

File "rokoko-studio-live-blender-master\core\animations.py", line 139, in animate_actor studio_new_pose = Quaternion(( TypeError: mathutils.Quaternion(): sequence index 3 expected a number, found 'str' type,

MostHostLA commented 1 year ago

cheapo fix @ line 140-143 studio_new_pose = Quaternion(( float(actor_bone_data['rotation']['w']), float(actor_bone_data['rotation']['x']), float(actor_bone_data['rotation']['y']), float(actor_bone_data['rotation']['z']), ))

Can confirm forcing the float works.

Darkblader24 commented 1 year ago

Thank you