|
@@ -50,6 +50,7 @@
|
|
|
#include "scene/2d/light_2d.h"
|
|
|
#include "scene/2d/light_occluder_2d.h"
|
|
|
#include "scene/2d/line_2d.h"
|
|
|
+#include "scene/2d/marker_2d.h"
|
|
|
#include "scene/2d/mesh_instance_2d.h"
|
|
|
#include "scene/2d/multimesh_instance_2d.h"
|
|
|
#include "scene/2d/navigation_agent_2d.h"
|
|
@@ -60,7 +61,6 @@
|
|
|
#include "scene/2d/physical_bone_2d.h"
|
|
|
#include "scene/2d/physics_body_2d.h"
|
|
|
#include "scene/2d/polygon_2d.h"
|
|
|
-#include "scene/2d/position_2d.h"
|
|
|
#include "scene/2d/ray_cast_2d.h"
|
|
|
#include "scene/2d/remote_transform_2d.h"
|
|
|
#include "scene/2d/shape_cast_2d.h"
|
|
@@ -231,6 +231,7 @@
|
|
|
#include "scene/3d/light_3d.h"
|
|
|
#include "scene/3d/lightmap_gi.h"
|
|
|
#include "scene/3d/lightmap_probe.h"
|
|
|
+#include "scene/3d/marker_3d.h"
|
|
|
#include "scene/3d/mesh_instance_3d.h"
|
|
|
#include "scene/3d/multimesh_instance_3d.h"
|
|
|
#include "scene/3d/navigation_agent_3d.h"
|
|
@@ -240,7 +241,6 @@
|
|
|
#include "scene/3d/occluder_instance_3d.h"
|
|
|
#include "scene/3d/path_3d.h"
|
|
|
#include "scene/3d/physics_body_3d.h"
|
|
|
-#include "scene/3d/position_3d.h"
|
|
|
#include "scene/3d/ray_cast_3d.h"
|
|
|
#include "scene/3d/reflection_probe.h"
|
|
|
#include "scene/3d/remote_transform_3d.h"
|
|
@@ -522,7 +522,7 @@ void register_scene_types() {
|
|
|
GDREGISTER_CLASS(GPUParticlesAttractorSphere3D);
|
|
|
GDREGISTER_CLASS(GPUParticlesAttractorVectorField3D);
|
|
|
GDREGISTER_CLASS(CPUParticles3D);
|
|
|
- GDREGISTER_CLASS(Position3D);
|
|
|
+ GDREGISTER_CLASS(Marker3D);
|
|
|
GDREGISTER_CLASS(RootMotionView);
|
|
|
|
|
|
OS::get_singleton()->yield(); // may take time to init
|
|
@@ -694,7 +694,7 @@ void register_scene_types() {
|
|
|
GDREGISTER_CLASS(Sprite2D);
|
|
|
GDREGISTER_CLASS(SpriteFrames);
|
|
|
GDREGISTER_CLASS(AnimatedSprite2D);
|
|
|
- GDREGISTER_CLASS(Position2D);
|
|
|
+ GDREGISTER_CLASS(Marker2D);
|
|
|
GDREGISTER_CLASS(Line2D);
|
|
|
GDREGISTER_CLASS(MeshInstance2D);
|
|
|
GDREGISTER_CLASS(MultiMeshInstance2D);
|
|
@@ -1036,6 +1036,8 @@ void register_scene_types() {
|
|
|
ClassDB::add_compatibility_class("PhysicsShapeQueryParameters", "PhysicsShapeQueryParameters3D");
|
|
|
ClassDB::add_compatibility_class("PinJoint", "PinJoint3D");
|
|
|
ClassDB::add_compatibility_class("PlaneShape", "WorldBoundaryShape3D");
|
|
|
+ ClassDB::add_compatibility_class("Position2D", "Marker2D");
|
|
|
+ ClassDB::add_compatibility_class("Position3D", "Marker3D");
|
|
|
ClassDB::add_compatibility_class("ProceduralSky", "Sky");
|
|
|
ClassDB::add_compatibility_class("RayCast", "RayCast3D");
|
|
|
ClassDB::add_compatibility_class("RayShape", "SeparationRayShape3D");
|