Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED

This commit is contained in:
Michael Alexsander
2024-11-01 18:40:25 -03:00
parent c6c464cf9a
commit 58e79bfa9a
41 changed files with 155 additions and 121 deletions

View File

@@ -54,10 +54,10 @@ protected:
void _validate_property(PropertyInfo &p_property) const;
public:
#ifdef TOOLS_ENABLED
#ifdef DEBUG_ENABLED
Rect2 _edit_get_rect() const override;
virtual bool _edit_use_rect() const override;
#endif
#endif // DEBUG_ENABLED
void set_rect(const Rect2 &p_rect);
Rect2 get_rect() const;