1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Unbind CSGShape::_update_shape() and make it public

This commit is contained in:
kobewi
2025-03-15 23:47:24 +01:00
parent 0028fd625e
commit e64a07cc57
3 changed files with 6 additions and 6 deletions

View File

@@ -5926,7 +5926,7 @@ void GLTFDocument::_convert_csg_shape_to_gltf(CSGShape3D *p_current, GLTFNodeInd
ERR_FAIL_MSG("csg module is disabled.");
#else
CSGShape3D *csg = p_current;
csg->call("_update_shape");
csg->update_shape();
Array meshes = csg->get_meshes();
if (meshes.size() != 2) {
return;