1
0
mirror of synced 2024-11-25 00:00:27 +01:00

pattern: Fixed wrong number of required parameters for image visualizer

This commit is contained in:
WerWolv 2023-02-06 17:23:50 +01:00
parent b936a28921
commit f75f3f4661

View File

@ -438,7 +438,7 @@ namespace hex::plugin::builtin {
void registerPatternLanguageVisualizers() {
ContentRegistry::PatternLanguage::addVisualizer("line_plot", drawLinePlotVisualizer, 1);
ContentRegistry::PatternLanguage::addVisualizer("scatter_plot", drawScatterPlotVisualizer, 2);
ContentRegistry::PatternLanguage::addVisualizer("image", drawImageVisualizer, 0);
ContentRegistry::PatternLanguage::addVisualizer("image", drawImageVisualizer, 1);
ContentRegistry::PatternLanguage::addVisualizer("bitmap", drawBitmapVisualizer, 3);
ContentRegistry::PatternLanguage::addVisualizer("disassembler", drawDisassemblyVisualizer, 4);
ContentRegistry::PatternLanguage::addVisualizer("3d", draw3DVisualizer, 2);