mirror of
https://github.com/godotengine/godot.git
synced 2025-01-06 17:37:18 +08:00
Update gridmap editor cursor and selection node transformations whenever the gridmap node's transformation changes
This commit is contained in:
parent
5efd124ca1
commit
f37c72fcdc
@ -1199,6 +1199,8 @@ void GridMapEditor::_notification(int p_what) {
|
|||||||
RS::get_singleton()->instance_set_transform(grid_instance[i], xf * edit_grid_xform);
|
RS::get_singleton()->instance_set_transform(grid_instance[i], xf * edit_grid_xform);
|
||||||
}
|
}
|
||||||
grid_xform = xf;
|
grid_xform = xf;
|
||||||
|
_update_cursor_transform();
|
||||||
|
_update_selection_transform();
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user