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

@ -45,10 +45,10 @@ protected:
static void _bind_methods();
public:
#ifdef TOOLS_ENABLED
#ifdef DEBUG_ENABLED
virtual Rect2 _edit_get_rect() const override;
virtual bool _edit_use_rect() const override;
#endif
#endif // DEBUG_ENABLED
void set_mesh(const Ref<Mesh> &p_mesh);
Ref<Mesh> get_mesh() const;