summaryrefslogtreecommitdiff
path: root/scene/2d/back_buffer_copy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/back_buffer_copy.cpp')
-rw-r--r--scene/2d/back_buffer_copy.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/2d/back_buffer_copy.cpp b/scene/2d/back_buffer_copy.cpp
index caa1adebdb..e06c30ec6b 100644
--- a/scene/2d/back_buffer_copy.cpp
+++ b/scene/2d/back_buffer_copy.cpp
@@ -59,6 +59,11 @@ bool BackBufferCopy::_edit_use_rect() const {
return true;
}
+Rect2 BackBufferCopy::get_anchorable_rect() const {
+
+ return rect;
+}
+
void BackBufferCopy::set_rect(const Rect2 &p_rect) {
rect = p_rect;