Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
Also fixed a few uninitialized memory variables.
This commit is contained in:
parent
16e67388a2
commit
7f63b0e8cd
6 changed files with 10 additions and 1 deletions
|
|
@ -2705,6 +2705,7 @@ void TilesetEditorContext::_bind_methods() {
|
|||
TilesetEditorContext::TilesetEditorContext(TileSetEditor *p_tileset_editor) {
|
||||
|
||||
tileset_editor = p_tileset_editor;
|
||||
snap_options_visible = false;
|
||||
}
|
||||
|
||||
void TileSetEditorPlugin::edit(Object *p_node) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue