summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2022-08-19 20:43:02 +0300
committerGitHub <noreply@github.com>2022-08-19 20:43:02 +0300
commit469c18152fb70c45202a1281d84d4a2aa7246597 (patch)
tree0a084276d8e33d44703e9ac2874d54c796d69c96 /scene
parent96ba6e8cf93003a5fcdc307668744d2a03f0aa86 (diff)
parentda567cb1f9750ecc86bad3e92b0a54c938889d19 (diff)
Merge pull request #64592 from mhilbrunner/move-fast-break-things
Unexpose VelocityTracker3D
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/velocity_tracker_3d.h2
-rw-r--r--scene/register_scene_types.cpp3
2 files changed, 0 insertions, 5 deletions
diff --git a/scene/3d/velocity_tracker_3d.h b/scene/3d/velocity_tracker_3d.h
index 6b27cdffc2..d3b92ab766 100644
--- a/scene/3d/velocity_tracker_3d.h
+++ b/scene/3d/velocity_tracker_3d.h
@@ -34,8 +34,6 @@
#include "scene/3d/node_3d.h"
class VelocityTracker3D : public RefCounted {
- GDCLASS(VelocityTracker3D, RefCounted);
-
struct PositionHistory {
uint64_t frame = 0;
Vector3 position;
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp
index 434e63582a..9979855232 100644
--- a/scene/register_scene_types.cpp
+++ b/scene/register_scene_types.cpp
@@ -824,8 +824,6 @@ void register_scene_types() {
ClassDB::register_class<SkeletonModification3DStackHolder>();
OS::get_singleton()->yield(); // may take time to init
-
- GDREGISTER_CLASS(VelocityTracker3D);
#endif
GDREGISTER_CLASS(PhysicsMaterial);
@@ -1053,7 +1051,6 @@ void register_scene_types() {
ClassDB::add_compatibility_class("Spatial", "Node3D");
ClassDB::add_compatibility_class("SpatialGizmo", "Node3DGizmo");
ClassDB::add_compatibility_class("SpatialMaterial", "StandardMaterial3D");
- ClassDB::add_compatibility_class("SpatialVelocityTracker", "VelocityTracker3D");
ClassDB::add_compatibility_class("SphereShape", "SphereShape3D");
ClassDB::add_compatibility_class("SpotLight", "SpotLight3D");
ClassDB::add_compatibility_class("SpringArm", "SpringArm3D");