diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-15 22:52:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-15 22:52:35 +0200 |
commit | 182b1fb9f16ce8523ce5cc28cd11b66f52dc09e4 (patch) | |
tree | ca6b24cfa5f1085209743e093b96b9b712940c01 /scene/2d | |
parent | e21f808530b02a393a46d597afe89b4fbf886bb6 (diff) | |
parent | 68735d2a886bc2cf6b0a4300d1aa5ece952929ed (diff) |
Merge pull request #29797 from akien-mga/fix-warnings
Fix compilation warnings in JS and Windows builds
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/position_2d.cpp | 2 | ||||
-rw-r--r-- | scene/2d/position_2d.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/position_2d.cpp b/scene/2d/position_2d.cpp index 8bccf117fd..f0c46a5fb7 100644 --- a/scene/2d/position_2d.cpp +++ b/scene/2d/position_2d.cpp @@ -33,6 +33,8 @@ #include "core/engine.h" #include "scene/resources/texture.h" +const float DEFAULT_GIZMO_EXTENTS = 10.0; + void Position2D::_draw_cross() { float extents = get_gizmo_extents(); diff --git a/scene/2d/position_2d.h b/scene/2d/position_2d.h index dc9cc2df15..ec73c02d2b 100644 --- a/scene/2d/position_2d.h +++ b/scene/2d/position_2d.h @@ -37,8 +37,6 @@ class Position2D : public Node2D { GDCLASS(Position2D, Node2D) - const float DEFAULT_GIZMO_EXTENTS = 10.0; - void _draw_cross(); protected: |