You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user