summaryrefslogtreecommitdiff
path: root/scene/3d/position_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/position_3d.h')
-rw-r--r--scene/3d/position_3d.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/scene/3d/position_3d.h b/scene/3d/position_3d.h
index cd5080c95a..1c5f05ef95 100644
--- a/scene/3d/position_3d.h
+++ b/scene/3d/position_3d.h
@@ -31,11 +31,10 @@
#ifndef POSITION_3D_H
#define POSITION_3D_H
-#include "scene/3d/spatial.h"
+#include "scene/3d/node_3d.h"
-class Position3D : public Spatial {
-
- GDCLASS(Position3D, Spatial);
+class Position3D : public Node3D {
+ GDCLASS(Position3D, Node3D);
public:
Position3D();