From ac92704f395b70098771814686466681cee345c9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-9O27V4U\\Navi" Date: Tue, 27 Sep 2022 20:47:05 -0700 Subject: Add compatibility code for CSGBox3D width/height/depth from Godot 3.x Fixes #66420. --- modules/csg/csg_shape.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/csg/csg_shape.h') diff --git a/modules/csg/csg_shape.h b/modules/csg/csg_shape.h index 9012c37679..c244107bfb 100644 --- a/modules/csg/csg_shape.h +++ b/modules/csg/csg_shape.h @@ -248,6 +248,10 @@ class CSGBox3D : public CSGPrimitive3D { protected: static void _bind_methods(); +#ifndef DISABLE_DEPRECATED + // Kept for compatibility from 3.x to 4.0. + bool _set(const StringName &p_name, const Variant &p_value); +#endif public: void set_size(const Vector3 &p_size); -- cgit v1.2.3