1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix BackBufferCopy rect property appearing when not relevant in inspector

The `rect` property is only effective if `copy_mode` is Rect.
This commit is contained in:
Hugo Locurcio
2022-12-08 19:50:59 +01:00
parent cf093f8e47
commit 080b6ac1ae
3 changed files with 14 additions and 6 deletions

View File

@@ -51,6 +51,7 @@ private:
protected:
static void _bind_methods();
void _validate_property(PropertyInfo &p_property) const;
public:
#ifdef TOOLS_ENABLED