summaryrefslogtreecommitdiffstats
path: root/scene/2d/back_buffer_copy.cpp
diff options
context:
space:
mode:
authorGilles Roudiere <gilles.roudiere@gmail.com>2018-03-08 21:35:41 +0100
committerGilles Roudiere <gilles.roudiere@gmail.com>2018-04-03 22:04:19 +0200
commit72ed1e4244efbba7d7d66781b6fcbd2faec3273f (patch)
tree23d8c8e56fb9e6a8afe10eb14ab1056d689d7d51 /scene/2d/back_buffer_copy.cpp
parent6435894275ad03911f916817704d94a0e5925425 (diff)
downloadredot-engine-72ed1e4244efbba7d7d66781b6fcbd2faec3273f.tar.gz
Remove the selection rect for nodes that do not require it
Diffstat (limited to 'scene/2d/back_buffer_copy.cpp')
-rw-r--r--scene/2d/back_buffer_copy.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/2d/back_buffer_copy.cpp b/scene/2d/back_buffer_copy.cpp
index 446b367be0..caa1adebdb 100644
--- a/scene/2d/back_buffer_copy.cpp
+++ b/scene/2d/back_buffer_copy.cpp
@@ -55,6 +55,10 @@ Rect2 BackBufferCopy::_edit_get_rect() const {
return rect;
}
+bool BackBufferCopy::_edit_use_rect() const {
+ return true;
+}
+
void BackBufferCopy::set_rect(const Rect2 &p_rect) {
rect = p_rect;