Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED
This commit is contained in:
parent
c6c464cf9a
commit
58e79bfa9a
41 changed files with 155 additions and 121 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue