diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-11-14 18:21:06 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-11-14 19:35:19 +0100 |
commit | 3b14f0334c9857a11ec8060562186aae5fe8cae0 (patch) | |
tree | e12329102802f089e2122b7c0673f993d32887df /scene/2d/skeleton_2d.cpp | |
parent | 963ffd8b944db768a9b7d09eeec025907f50843c (diff) |
Remove redundant Variant-types initializations
Diffstat (limited to 'scene/2d/skeleton_2d.cpp')
-rw-r--r-- | scene/2d/skeleton_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/skeleton_2d.cpp b/scene/2d/skeleton_2d.cpp index 02d8e20ce8..62787d4488 100644 --- a/scene/2d/skeleton_2d.cpp +++ b/scene/2d/skeleton_2d.cpp @@ -213,7 +213,7 @@ void Bone2D::_notification(int p_what) { } // Undo scaling - Transform2D editor_gizmo_trans = Transform2D(); + Transform2D editor_gizmo_trans; editor_gizmo_trans.set_scale(Vector2(1, 1) / get_global_scale()); RenderingServer::get_singleton()->canvas_item_set_transform(editor_gizmo_rid, editor_gizmo_trans); |