diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2020-02-13 23:34:59 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2021-03-02 09:25:09 -0300 |
commit | 70304f8633c8cf8faa530dadf648ecfcabf80655 (patch) | |
tree | 1e306ddea59b2b81d9db3637b7fb3efa999e5d6f /scene/2d/polygon_2d.h | |
parent | 8fbe644b6e6548dc2c9f9d675bc17f13b74e747b (diff) |
Hide extra options from various nodes if they're not enabled
Diffstat (limited to 'scene/2d/polygon_2d.h')
-rw-r--r-- | scene/2d/polygon_2d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/2d/polygon_2d.h b/scene/2d/polygon_2d.h index ab01a4ffd0..43a66aad13 100644 --- a/scene/2d/polygon_2d.h +++ b/scene/2d/polygon_2d.h @@ -72,6 +72,10 @@ class Polygon2D : public Node2D { void _skeleton_bone_setup_changed(); +#ifdef TOOLS_ENABLED + void _validate_property(PropertyInfo &property) const override; +#endif + protected: void _notification(int p_what); static void _bind_methods(); |