From ab3716bd46d251dfb1c6664794e3b518c0d2218c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 23 Aug 2018 21:49:24 +0200 Subject: Revert "Take CanvasLayer transform into account for 2D physics" This reverts commit 4839e5f6d9ed1c0afee933009ab44b9913310d27. Fixes #21289. --- scene/2d/physics_body_2d.h | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/2d/physics_body_2d.h') 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(); -- cgit v1.2.3