summaryrefslogtreecommitdiff
path: root/scene/3d/node_3d.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-22 12:59:32 +0200
committerGitHub <noreply@github.com>2021-10-22 12:59:32 +0200
commit9f7218eb69a3a1c09c652e9064573bffd71bdc02 (patch)
tree44cd834f963ea66d5f504638a1bc64b987c581e3 /scene/3d/node_3d.cpp
parent6ef38d2f2f29adb163934bfc690dca976d359851 (diff)
parent87a4ba492ee4f4a055dfff5afacf48dd4e62e839 (diff)
Merge pull request #54088 from madmiraal/remove-unimplemented-methods
Diffstat (limited to 'scene/3d/node_3d.cpp')
-rw-r--r--scene/3d/node_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/node_3d.cpp b/scene/3d/node_3d.cpp
index c96204cf60..5293dd3f0a 100644
--- a/scene/3d/node_3d.cpp
+++ b/scene/3d/node_3d.cpp
@@ -484,14 +484,14 @@ void Node3D::_update_gizmos() {
#endif
}
-#ifdef TOOLS_ENABLED
void Node3D::set_disable_gizmos(bool p_enabled) {
+#ifdef TOOLS_ENABLED
data.gizmos_disabled = p_enabled;
if (!p_enabled) {
clear_gizmos();
}
-}
#endif
+}
void Node3D::set_disable_scale(bool p_enabled) {
data.disable_scale = p_enabled;