File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -125,10 +125,8 @@ void Shape::recompute_original_surface() {
125125 original_meshes_.set_mesh (0 , mesh_handle);
126126}
127127
128-
129128// ---------------------------------------------------------------------------
130- void Shape::ensure_segmentation ()
131- {
129+ void Shape::ensure_segmentation () {
132130 if (get_segmentation ()) {
133131 return ;
134132 }
@@ -159,8 +157,7 @@ void Shape::ensure_segmentation()
159157// ---------------------------------------------------------------------------
160158MeshGroup Shape::get_groomed_meshes (bool wait) {
161159 if (!subject_) {
162- std::cerr << " Error: asked for groomed meshes when none are present!\n " ;
163- assert (0 );
160+ return {};
164161 }
165162
166163 if (!groomed_meshes_.valid () || groomed_meshes_.meshes ().size () != subject_->get_number_of_domains ()) {
You can’t perform that action at this time.
0 commit comments