summaryrefslogtreecommitdiff
path: root/scene/3d/collision_polygon.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-12 13:48:17 +0100
committerGitHub <noreply@github.com>2018-01-12 13:48:17 +0100
commitbab9759645d29686c480d9bd0e6b1c50e4f541ef (patch)
tree2284d1d6fe5dfc7a763d0323fb99ae8c8565c28a /scene/3d/collision_polygon.h
parent3a05d974e0fb925869fe0fdfdbde9da8ee6a2757 (diff)
parentaefedb73fcba789207db4da0d27214eecaf0f078 (diff)
Merge pull request #15606 from RandomShaper/fix-inherited-coll-shapes
Update collision shapes data on tree entered
Diffstat (limited to 'scene/3d/collision_polygon.h')
-rw-r--r--scene/3d/collision_polygon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/collision_polygon.h b/scene/3d/collision_polygon.h
index 6643cfa044..971c67f1ad 100644
--- a/scene/3d/collision_polygon.h
+++ b/scene/3d/collision_polygon.h
@@ -51,6 +51,8 @@ protected:
void _build_polygon();
+ void _update_in_shape_owner(bool p_xform_only = false);
+
protected:
void _notification(int p_what);
static void _bind_methods();