You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename texture_offset and unclamp it
This commit is contained in:
@@ -897,7 +897,7 @@ void TileMapEditorTilesPlugin::forward_canvas_draw_over_viewport(Control *p_over
|
||||
|
||||
// Compute the offset
|
||||
Rect2i source_rect = atlas_source->get_tile_texture_region(E.value.get_atlas_coords());
|
||||
Vector2i tile_offset = atlas_source->get_tile_effective_texture_offset(E.value.get_atlas_coords(), E.value.alternative_tile);
|
||||
Vector2i tile_offset = tile_data->get_texture_origin();
|
||||
|
||||
// Compute the destination rectangle in the CanvasItem.
|
||||
Rect2 dest_rect;
|
||||
|
||||
Reference in New Issue
Block a user