From 3d4a2a09f6b3587bd6aed48677b476da5db52721 Mon Sep 17 00:00:00 2001 From: Eric Rybicki Date: Fri, 24 Jan 2020 09:25:05 +0100 Subject: [PATCH] Fix Softbody always spawns from world center [gles2] Fixes #35373 --- drivers/gles2/rasterizer_storage_gles2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index c633d17ccad5..cd6a7d86c631 100644 --- a/drivers/gles2/rasterizer_storage_gles2.cpp +++ b/drivers/gles2/rasterizer_storage_gles2.cpp @@ -2692,6 +2692,7 @@ void RasterizerStorageGLES2::mesh_set_custom_aabb(RID p_mesh, const AABB &p_aabb ERR_FAIL_COND(!mesh); mesh->custom_aabb = p_aabb; + mesh->instance_change_notify(true, false); } AABB RasterizerStorageGLES2::mesh_get_custom_aabb(RID p_mesh) const {