summaryrefslogtreecommitdiffstats
path: root/scene/3d/physics_body_3d.h
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-10-01 08:02:38 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-10-01 08:02:38 -0700
commitca30b70943b1d2c19c10e901786edb8b095f7834 (patch)
tree9a6aa312895bd7ac1cf2281444537e2f9c31a64e /scene/3d/physics_body_3d.h
parent77721b35ba21f2e7e8bb42cf415fccb018517843 (diff)
downloadredot-engine-ca30b70943b1d2c19c10e901786edb8b095f7834.tar.gz
Remove editor code in PhysicalBone3D
_set_gizmo_move_joint is only used in PhysicalBone3DEditor, so the editor plugin call can be done directly there.
Diffstat (limited to 'scene/3d/physics_body_3d.h')
-rw-r--r--scene/3d/physics_body_3d.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/3d/physics_body_3d.h b/scene/3d/physics_body_3d.h
index 916b2cd464..f8669c870a 100644
--- a/scene/3d/physics_body_3d.h
+++ b/scene/3d/physics_body_3d.h
@@ -662,10 +662,9 @@ private:
public:
void _on_bone_parent_changed();
- void _set_gizmo_move_joint(bool p_move_joint);
-public:
#ifdef TOOLS_ENABLED
+ void _set_gizmo_move_joint(bool p_move_joint);
virtual Transform3D get_global_gizmo_transform() const override;
virtual Transform3D get_local_gizmo_transform() const override;
#endif