AyoubKhammassi/BakedSDF2FBX

'bitwise_and' not supported

Opened this issue · 0 comments

H-tr commented

Hi! Thanks for the great work. However, when I was trying to convert the mesh, I got the following problem

Encoding custom attributes in UVs...
Traceback (most recent call last):
  File "/media/run/Extend/tmp/BakedSDF2FBX/BakedSDF2FBX.py", line 103, in <module>
    EncodeSHDataInUVs(path, args.skip_fbx)
  File "/media/run/Extend/tmp/BakedSDF2FBX/BakedSDF2FBX.py", line 35, in EncodeSHDataInUVs
    exp = PackInExponents(scale)
  File "/media/run/Extend/tmp/BakedSDF2FBX/BakedSDF2FBX.py", line 16, in PackInExponents
    e1 = int((x & 0xF) | 96) 
TypeError: ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

Do you have any suggestions?