You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +00:00
Merge pull request #32051 from qarmin/some_error_explanation
Added some obvious errors explanations
This commit is contained in:
@@ -241,10 +241,7 @@ PoolVector<PoolVector<Face3> > Geometry::separate_objects(PoolVector<Face3> p_ar
|
||||
|
||||
bool error = _connect_faces(_fcptr, len, -1);
|
||||
|
||||
if (error) {
|
||||
|
||||
ERR_FAIL_COND_V(error, PoolVector<PoolVector<Face3> >()); // Invalid geometry.
|
||||
}
|
||||
ERR_FAIL_COND_V_MSG(error, PoolVector<PoolVector<Face3> >(), "Invalid geometry.");
|
||||
|
||||
// Group connected faces in separate objects.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user