summaryrefslogtreecommitdiff
path: root/modules/csg/csg_shape.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-13 21:07:30 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-13 21:07:30 +0100
commitc787eb6609d892537dfca9a46300bce7ef5e0fe2 (patch)
tree12bf93254a312fe08db7c9deb09abc3709ae02f3 /modules/csg/csg_shape.h
parent0668e0f5a9893f0cb46ab4e557a9e79e1e8e335c (diff)
parentac92704f395b70098771814686466681cee345c9 (diff)
Merge pull request #66476 from GK-GreyGhost/csgbox-updater
Support CSGBox3D conversion of width/height/depth in 3 to size in 4
Diffstat (limited to 'modules/csg/csg_shape.h')
-rw-r--r--modules/csg/csg_shape.h4
1 files changed, 4 insertions, 0 deletions
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);