You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
the following code works before 1.6.0 but raise a bad_cast exception after 1.6.0.
Test on wsl2, ubuntu 24.04 Noble.
from imgui_bundle import immvision as iv
import numpy as np
params = iv.ImageParams()
print(params.zoom_pan_matrix,type(params.zoom_pan_matrix))
params.zoom_pan_matrix = np.eye(3)
((1.0, 0.0, 0.0), (0.0, 1.0, 0.0), (0.0, 0.0, 1.0)) <class 'tuple'>
terminate called after throwing an instance of 'std::bad_cast'
what(): std::bad_cast
I also note that the return type have changed between version.
I have not seen any breaking change on this params in release notes.
The text was updated successfully, but these errors were encountered:
aeudes
changed the title
In Immvision, ImageParams write zoom_pan_matrix
In Immvision, segmentation fault when write zoom_pan_matrix in ImageParams
Jan 13, 2025
Hello,
the following code works before 1.6.0 but raise a bad_cast exception after 1.6.0.
Test on wsl2, ubuntu 24.04 Noble.
With 1.5.2:
With 1.6.0-1.6.2:
I also note that the return type have changed between version.
I have not seen any breaking change on this params in release notes.
The text was updated successfully, but these errors were encountered: