summaryrefslogtreecommitdiff
path: root/scene/3d/node_3d.h
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2020-02-17 18:29:14 +0100
committerkobewi <kobewi4e@gmail.com>2022-08-16 19:44:41 +0200
commit2bdd7e9ea0383c06fe6a83445469e41222477abc (patch)
tree70c22e25063e0b608344ca5d02debc252c589a28 /scene/3d/node_3d.h
parentd5d22ab035a611a567f73a2ee2d61a81c99c61b5 (diff)
Add methods for node reparenting
Diffstat (limited to 'scene/3d/node_3d.h')
-rw-r--r--scene/3d/node_3d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/node_3d.h b/scene/3d/node_3d.h
index b1e129798d..50d3d6123b 100644
--- a/scene/3d/node_3d.h
+++ b/scene/3d/node_3d.h
@@ -210,6 +210,7 @@ public:
virtual void set_transform_gizmo_visible(bool p_enabled) { data.transform_gizmo_visible = p_enabled; };
virtual bool is_transform_gizmo_visible() const { return data.transform_gizmo_visible; };
#endif
+ virtual void reparent(Node *p_parent, bool p_keep_global_transform = true) override;
void set_disable_gizmos(bool p_enabled);
void update_gizmos();