summaryrefslogtreecommitdiffstats
path: root/scene/3d/spatial.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/spatial.h')
-rw-r--r--scene/3d/spatial.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/scene/3d/spatial.h b/scene/3d/spatial.h
index 23f1c6d103..50123b2d81 100644
--- a/scene/3d/spatial.h
+++ b/scene/3d/spatial.h
@@ -57,7 +57,7 @@ class Spatial : public Node {
OBJ_TYPE( Spatial, Node );
OBJ_CATEGORY("3D");
-
+
enum TransformDirty {
DIRTY_NONE=0,
DIRTY_VECTORS=1,
@@ -68,7 +68,7 @@ class Spatial : public Node {
mutable SelfList<Node> xform_change;
struct Data {
-
+
mutable Transform global_transform;
@@ -84,12 +84,12 @@ class Spatial : public Node {
bool toplevel_active;
bool toplevel;
bool inside_world;
-
+
int children_lock;
Spatial *parent;
List<Spatial*> children;
List<Spatial*>::Element *C;
-
+
bool ignore_notification;
bool notify_local_transform;
@@ -130,7 +130,7 @@ protected:
public:
enum {
-
+
NOTIFICATION_TRANSFORM_CHANGED=SceneTree::NOTIFICATION_TRANSFORM_CHANGED,
NOTIFICATION_ENTER_WORLD=41,
NOTIFICATION_EXIT_WORLD=42,
@@ -153,7 +153,7 @@ public:
void set_transform(const Transform& p_transform);
void set_global_transform(const Transform& p_transform);
-
+
Transform get_transform() const;
Transform get_global_transform() const;
@@ -198,7 +198,7 @@ public:
Transform get_import_transform() const;
#endif
- Spatial();
+ Spatial();
~Spatial();
};