summaryrefslogtreecommitdiff
path: root/scene/2d/polygon_2d.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-04-13 10:21:44 -0300
committerGitHub <noreply@github.com>2018-04-13 10:21:44 -0300
commit1d15c5d726600047805ab10d53ff2a7efdc41d8e (patch)
treeb2e2cbe054e4d12c5ffa1172d504a0188e09274f /scene/2d/polygon_2d.h
parent3a5b25d5b489ad88c2861c9c37b56469580fbf03 (diff)
parenta724f34ef30bdf362b9059634e4ef21e21101ddd (diff)
Merge pull request #17502 from groud/2Deditor_rect
Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
Diffstat (limited to 'scene/2d/polygon_2d.h')
-rw-r--r--scene/2d/polygon_2d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/polygon_2d.h b/scene/2d/polygon_2d.h
index 3a24177548..262208f2f1 100644
--- a/scene/2d/polygon_2d.h
+++ b/scene/2d/polygon_2d.h
@@ -68,6 +68,7 @@ public:
virtual Point2 _edit_get_pivot() const;
virtual bool _edit_use_pivot() const;
virtual Rect2 _edit_get_rect() const;
+ virtual bool _edit_use_rect() const;
virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const;