1
0
mirror of synced 2024-12-20 11:35:54 +01:00
ImHex/plugins/visualizers/source/content
paxcut fa28052958
fix: Avoid crashing ImHex when passing invalid data to the 3D visualizer (#1874)
### Problem description
There are some obvious constrains in the various array data sizes that
we can use to determine if their sizes and in some cases their values
are correct.

### Implementation description
To test their validity, the most important of the various arrays are the
indices, so their definition and use has been simplified a great deal.
In order to treat all variables in a similar manner the changes to the
uv variable posted in an earlier PR were also added here.

With this one, all the recently opened PR's combined should contain
exactly the same changes and fixes as the older 3-d visualizer PR #1850
which I will close shortly after this one is opened.

---------

Co-authored-by: Nik <werwolv98@gmail.com>
2024-09-15 15:19:41 +02:00
..
pl_visualizers fix: Avoid crashing ImHex when passing invalid data to the 3D visualizer (#1874) 2024-09-15 15:19:41 +02:00
pl_inline_visualizers.cpp fix: Multiple issues causing visualizers to crash when used _slightly_ incorrectly 2024-07-10 20:50:58 +02:00
pl_visualizers.cpp feat: Extended bitmap visualizer to handle indexed colormaps (#1901) 2024-09-15 15:16:36 +02:00