cmann1 / dustmod-issues

Dustmod issue tracker
0 stars 0 forks source link

Crash when undoing a camera node deletion in the editor #33

Closed jdude08221 closed 3 years ago

jdude08221 commented 3 years ago

Error log: `The script ended with an exception. : ic/content_src/scripts/as/camera_editor.hpp [ line 1144 ] : Index out of bounds void camera_node::swap_edges(int, int) ic/content_src/scripts/as/camera_editor.hpp : 1144, 5 void camera_node::reorder_list(bool) ic/content_src/scripts/as/camera_editor.hpp : 1023, 15 void camera_node::editor_step() ic/content_src/scripts/as/camera_editor.hpp : 757, 5 void world::sub_step(bool, bool, int) ic/content_src/scripts/as/world.hpp : 272, 9 void game::step_world(bool, bool, int) ic/content_src/scripts/as/game.hpp : 500, 5 void game::simulate(int, bool = false) ic/content_src/scripts/as/game.hpp : 791, 9 void game::simulate_base(int) ic/content_src/scripts/as/game.hpp : 971, 7 void main() ic/content_src/scripts/as/main.cpp : 1232, 5

https://imgur.com/a/QoXJXWR

3) Delete any of the three nodes with 1 neighbour 4) Ctrl-Z to undo the deletion (Crashes)