diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2024-11-01 18:40:25 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2024-11-02 15:43:18 -0300 |
commit | 58e79bfa9a0b0dc6edb04fdf1676ea8027a9f27d (patch) | |
tree | dc0acadc6f6e4e0ac6195b0d3b3e149ea33258fb /scene/2d/back_buffer_copy.cpp | |
parent | c6c464cf9ae56e8b68620af65125dd980d0e8122 (diff) | |
download | redot-engine-58e79bfa9a0b0dc6edb04fdf1676ea8027a9f27d.tar.gz |
Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED`
Diffstat (limited to 'scene/2d/back_buffer_copy.cpp')
-rw-r--r-- | scene/2d/back_buffer_copy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/back_buffer_copy.cpp b/scene/2d/back_buffer_copy.cpp index 4cae1affc3..045dd3be02 100644 --- a/scene/2d/back_buffer_copy.cpp +++ b/scene/2d/back_buffer_copy.cpp @@ -45,7 +45,7 @@ void BackBufferCopy::_update_copy_mode() { } } -#ifdef TOOLS_ENABLED +#ifdef DEBUG_ENABLED Rect2 BackBufferCopy::_edit_get_rect() const { return rect; } @@ -53,7 +53,7 @@ Rect2 BackBufferCopy::_edit_get_rect() const { bool BackBufferCopy::_edit_use_rect() const { return true; } -#endif +#endif // DEBUG_ENABLED Rect2 BackBufferCopy::get_anchorable_rect() const { return rect; |