summaryrefslogtreecommitdiffstats
path: root/scene/2d/physics_body_2d.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-08-23 21:49:24 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-08-23 21:49:24 +0200
commitab3716bd46d251dfb1c6664794e3b518c0d2218c (patch)
tree40c9c6c0265e8ae52520e7835b52603269999bb6 /scene/2d/physics_body_2d.h
parentb90dff787cb3696642fb2486f4ba02453d26fef7 (diff)
downloadredot-engine-ab3716bd46d251dfb1c6664794e3b518c0d2218c.tar.gz
Revert "Take CanvasLayer transform into account for 2D physics"
This reverts commit 4839e5f6d9ed1c0afee933009ab44b9913310d27. Fixes #21289.
Diffstat (limited to 'scene/2d/physics_body_2d.h')
-rw-r--r--scene/2d/physics_body_2d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/physics_body_2d.h b/scene/2d/physics_body_2d.h
index 0900438e3c..852963a721 100644
--- a/scene/2d/physics_body_2d.h
+++ b/scene/2d/physics_body_2d.h
@@ -49,6 +49,7 @@ class PhysicsBody2D : public CollisionObject2D {
uint32_t _get_layers() const;
protected:
+ void _notification(int p_what);
PhysicsBody2D(Physics2DServer::BodyMode p_mode);
static void _bind_methods();