Fix: Editor crash when creating new scene #81

Merged
SmiterG merged 1 commits from crash_fix into main 2025-07-10 11:21:02 +00:00
SmiterG commented 2025-06-09 20:06:15 +00:00 (Migrated from github.com)

This PR fixes an editor crash issue when creating new scenes.

Correction Details:

  • Added null pointer check for get_edited_scene_root().
  • Handles the case of new unsaved scenes.

Fixes #79

This PR fixes an editor crash issue when creating new scenes. **Correction Details:** - Added null pointer check for get_edited_scene_root(). - Handles the case of new unsaved scenes. Fixes #79
PedroPLopes1 commented 2025-06-09 20:13:51 +00:00 (Migrated from github.com)

indoso

indoso
PedroPLopes1 commented 2025-06-09 22:01:29 +00:00 (Migrated from github.com)

meu novo pull request ✔️✔️

meu novo pull request ✔️✔️

yeah that was it. i figured using the scene_change event would fix it but not having any nullptr exceptions in the first place is even cooler. sorry for abandoning the plugin for so long

yeah that was it. i figured using the scene_change event would fix it but not having any nullptr exceptions in the first place is even cooler. sorry for abandoning the plugin for so long
Sign in to join this conversation.
No description provided.