Right now, I'm just trying to get data into and out of a matrix.
If I do this:
Lines 1 and 2 work as expected. A Matrix4 object is created, and it pulls the identity matrix values out to the table. But trying to put those values back into a new matrix fails with this error:
Code: Select all
[string "FFI Script"]:5446: bad argument #16 to 'ffi_Matrix4__newNums' (cannot convert 'nil' to 'double') stack traceback: [C]: in function 'ffi_Matrix4__newNums' [string "FFI Script"]:5446: in function 'Matrix4' ...xe\BlackMagic\fusion9\fuses\Fuses\RSCameraExtractor.fuse:80: in function <...xe\BlackMagic\fusion9\fuses\Fuses\RSCameraExtractor.fuse:50>
I thought perhaps it was a matter of table indices starting at 1 instead of 0, but shifting the indices didn't help, nor did adding an extra entry to the end of the table or putting another argument in directly.
I'm working from the (likely obsolete) hints described here: https://www.steakunderwater.com/VFXPedi ... es/Matrix4