diff options
author | Richard Patching <richard@justaddpixels.com> | 2022-10-20 20:04:45 +0100 |
---|---|---|
committer | Richard Patching <richard@justaddpixels.com> | 2022-10-20 20:04:45 +0100 |
commit | 5de65bb2d7daa6f171e3fd93e6ed24108ecea65f (patch) | |
tree | 441a871b036190766414c793a2c5bdd359c2f911 /scene/resources | |
parent | a8c805be2947b211ee8b881d7a8bab7cdc86e170 (diff) |
Fix tp_canvas_item typo in _draw_rect_region
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp index 3a2b0ed9cb..fbcf140925 100644 --- a/scene/resources/texture.cpp +++ b/scene/resources/texture.cpp @@ -122,7 +122,7 @@ void Texture2D::_bind_methods() { GDVIRTUAL_BIND(_draw, "to_canvas_item", "pos", "modulate", "transpose") GDVIRTUAL_BIND(_draw_rect, "to_canvas_item", "rect", "tile", "modulate", "transpose") - GDVIRTUAL_BIND(_draw_rect_region, "tp_canvas_item", "rect", "src_rect", "modulate", "transpose", "clip_uv"); + GDVIRTUAL_BIND(_draw_rect_region, "to_canvas_item", "rect", "src_rect", "modulate", "transpose", "clip_uv"); } Texture2D::Texture2D() { |