Add compatibility code for CSGBox3D width/height/depth from Godot 3.x

Fixes #66420.
This commit is contained in:
DESKTOP-9O27V4U\Navi
2022-09-27 20:47:05 -07:00
committed by Rémi Verschelde
parent 854d9c3d9c
commit ac92704f39
2 changed files with 28 additions and 0 deletions

View File

@@ -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);