You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Get rid of gridmap error due to not yet valid cursor instance, fixes #17546
This commit is contained in:
@@ -802,7 +802,9 @@ void GridMapEditor::edit(GridMap *p_gridmap) {
|
||||
VisualServer::get_singleton()->instance_set_visible(grid_instance[i], false);
|
||||
}
|
||||
|
||||
if (cursor_instance.is_valid()) {
|
||||
VisualServer::get_singleton()->instance_set_visible(cursor_instance, false);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user