Merge pull request #104206 from KoBeWi/unshape

Unbind `CSGShape::_update_shape()` and make it public
This commit is contained in:
Rémi Verschelde 2025-03-19 12:27:23 +01:00
commit 18cd665202
No known key found for this signature in database
GPG key ID: C3336907360768E1
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;