Assertion failed: imax >= 0 at line 444 of c:\buildslave\dev_sdk_win32\build\pan
da3d\panda\src\linmath\lmatrix4_src.cxx
Traceback (most recent call last):
File "main.py", line 219, in <module>
loadModel()
File "main.py", line 65, in loadModel
actor = loadCustomFormat(filepath)
File "C:\Users\User\loader.py", line 463, in lo
adCustomFormat
bones.append(readBone(index, fileobject))
File "C:\Users\User\loader.py", line 308, in readBone
mat.invertInPlace()
AssertionError: imax >= 0 at line 444 of c:\buildslave\dev_sdk_win32\build\panda
3d\panda\src\linmath\lmatrix4_src.cxx
This is an error I get when trying to load our in-house 3d format with joints, which had been previously exported from Blender. I don’t know where the issue might come from: our Blender exporter, or the panda3d loader. I have no idea what the error is saying, so any info is very appreciated. I’m guessing it has something to do with how the joint matrices are stored or how they are read.