diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-12-08 19:50:59 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-12-08 19:52:48 +0100 |
commit | 080b6ac1ae93c403252ffe159212c504037ffd89 (patch) | |
tree | e288f7da52066bcc4b2220c487c55917350dbf21 /scene/2d/back_buffer_copy.h | |
parent | cf093f8e47f9508565cdc52bb724dbdb3d548e90 (diff) | |
download | redot-engine-080b6ac1ae93c403252ffe159212c504037ffd89.tar.gz |
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
The `rect` property is only effective if `copy_mode` is Rect.
Diffstat (limited to 'scene/2d/back_buffer_copy.h')
-rw-r--r-- | scene/2d/back_buffer_copy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/back_buffer_copy.h b/scene/2d/back_buffer_copy.h index 1f2d5810b0..caacbc83c6 100644 --- a/scene/2d/back_buffer_copy.h +++ b/scene/2d/back_buffer_copy.h @@ -51,6 +51,7 @@ private: protected: static void _bind_methods(); + void _validate_property(PropertyInfo &p_property) const; public: #ifdef TOOLS_ENABLED |