summaryrefslogtreecommitdiffstats
path: root/scene/main/canvas_layer.h
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2018-08-19 12:14:21 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2018-08-21 20:10:15 +0200
commit4839e5f6d9ed1c0afee933009ab44b9913310d27 (patch)
tree693425f390effe7b72ef89b677c51e8bde7c0900 /scene/main/canvas_layer.h
parent031f763d4fda4e0dbcdf90a170aad3124c50c062 (diff)
downloadredot-engine-4839e5f6d9ed1c0afee933009ab44b9913310d27.tar.gz
Take CanvasLayer transform into account for 2D physics
Fixes #18073.
Diffstat (limited to 'scene/main/canvas_layer.h')
-rw-r--r--scene/main/canvas_layer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/canvas_layer.h b/scene/main/canvas_layer.h
index aae23fbb12..fd347c4739 100644
--- a/scene/main/canvas_layer.h
+++ b/scene/main/canvas_layer.h
@@ -56,6 +56,7 @@ class CanvasLayer : public Node {
int sort_index;
void _update_xform();
+ void _notify_xform(Node *p_node);
void _update_locrotscale();
protected: