diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-18 00:09:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 00:09:58 +0200 |
commit | 407229aeeb2302e96acc26b34b8656ace0b1a20c (patch) | |
tree | 86c256986db27ef62a473a8863758b3eed4b9aa0 /scene/resources/box_shape_3d.h | |
parent | b02f42def7e28c44df195f532ad5ca264c70b3e0 (diff) | |
parent | 1a9e6cba2f4b2a7bf43e0b1b03ea27af66a45b1f (diff) |
Merge pull request #49672 from aaronfranke/box-extents-compat
Add extents get/set override to BoxShape3D and RectangleShape2D for compatibility
Diffstat (limited to 'scene/resources/box_shape_3d.h')
-rw-r--r-- | scene/resources/box_shape_3d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/box_shape_3d.h b/scene/resources/box_shape_3d.h index fce05d61ed..91978a0e6a 100644 --- a/scene/resources/box_shape_3d.h +++ b/scene/resources/box_shape_3d.h @@ -39,6 +39,10 @@ class BoxShape3D : public Shape3D { protected: static void _bind_methods(); +#ifndef DISABLE_DEPRECATED + bool _set(const StringName &p_name, const Variant &p_value); + bool _get(const StringName &p_name, Variant &r_property) const; +#endif // DISABLE_DEPRECATED virtual void _update_shape() override; |