Skip to content

Commit

Permalink
Update modules/csg/csg_shape.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
  • Loading branch information
fire and Calinou authored Dec 16, 2024
1 parent 5684a1e commit c69e368
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/csg/csg_shape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,7 @@ PackedStringArray CSGShape3D::get_configuration_warnings() const {
const CSGShape3D *current_shape = this;
while (current_shape) {
if (!current_shape->brush || current_shape->brush->faces.is_empty()) {
warnings.push_back(manifold_error_message);
warnings.push_back(manifold_info_message);
warnings.push_back(RTR("The CSGShape3D has an empty shape.\nCSGShape3D empty shapes typically occur because the mesh is not manifold.\nA manifold mesh forms a solid object without gaps, holes, or loose edges.\nEach edge must be a member of exactly two faces."));
break;
}
current_shape = current_shape->parent_shape;
Expand Down

0 comments on commit c69e368

Please sign in to comment.