mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#endif
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
#ifdef DEBUG_ENABLED
|
||||
Rect2 Path2D::_edit_get_rect() const {
|
||||
if (!curve.is_valid() || curve->get_point_count() == 0) {
|
||||
return Rect2(0, 0, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user