maybites / NodeOSC

blender OSC addon to be used with nodes
GNU General Public License v3.0
123 stars 18 forks source link

Loop-Custom-Messages Issue #33

Open 42x00 opened 8 months ago

42x00 commented 8 months ago

Hi! Thank you so much for making such amazing tool!

I was trying to update my shape key using osc data, here is my config: Screenshot 2024-03-05 034257

The error is: Screenshot 2024-03-05 034827 It seems it's trying to assign the entire arg array to the shape key value.

Manually repeating config should work: Screenshot 2024-03-05 035148

Blender version: 4.0 System: Win11

maybites commented 8 months ago

try putting args[idx] into brackets:

(index)

42x00 commented 7 months ago

thanks for the suggestion, still the same error: 'float' object does not support item assignment

maybites commented 7 months ago

can you post your blend file?

42x00 commented 7 months ago

thanks for offering! I downloaded the add-on from here: https://files.is.tue.mpg.de/tbolkart/FLAME/FLAME_Blender_AddOn.zip and followed their instruction: https://github.com/TimoBolkart/FLAME-Blender-Add-on to modify the expression of the face model

maybites commented 7 months ago

can you post me the osc message you send to nodeOSC?

42x00 commented 7 months ago

the osc message is 100 random floats like (0.0, 0.0, 0.0, ...)

maybites commented 7 months ago

yeah, there is something amiss in my code. I investigate..

maybites commented 7 months ago

should be fixed: https://github.com/maybites/blender.NodeOSC/releases/tag/V2.4.1

screenshot_Format