Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map doesn't work with GUI #50

Closed
sjrc6 opened this issue Jul 27, 2022 · 1 comment
Closed

map doesn't work with GUI #50

sjrc6 opened this issue Jul 27, 2022 · 1 comment

Comments

@sjrc6
Copy link

sjrc6 commented Jul 27, 2022

Using map node with GUI seems to always crash, I'm running the MazeMap model.

MazeMap > Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
at GUI.g__drawLine|23_11(Branch branch, <>c__DisplayClass23_0& ) in C:\Download\build\source\GUI.cs:line 288
at GUI.g__drawLine|23_11(Branch branch, <>c__DisplayClass23_0& ) in C:\Download\build\source\GUI.cs:line 290
at GUI.Draw(String name, Branch root, Branch current, Int32[] bitmap, Int32 WIDTH, Int32 HEIGHT, Dictionary`2 palette) in C:\Download\build\source\GUI.cs:line 294
at Program.Main() in C:\Download\build\source\Program.cs:line 70

@mxgmn
Copy link
Owner

mxgmn commented Jul 27, 2022

I have solved this issue in the code already, but it didn't make into a release yet. Will be in the next release.

@mxgmn mxgmn closed this as completed Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants