Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-03-20 21:56:19 +0300
committerJacques Lucke <jacques@blender.org>2021-03-20 21:56:19 +0300
commit11494e9472db54c0dc078c9d97fe9c53b763641b (patch)
tree58cfa5bc25a2faaf3284cbd5096d78a0478b55a4 /source/blender/editors/sculpt_paint
parent90959c23728fe569d16ce0a962e841e5accd9e51 (diff)
BLI: add macro to indicate unreachable codetemp-unreachable-abort
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_geodesic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_geodesic.c b/source/blender/editors/sculpt_paint/sculpt_geodesic.c
index d86d0938300..7577c4e8f30 100644
--- a/source/blender/editors/sculpt_paint/sculpt_geodesic.c
+++ b/source/blender/editors/sculpt_paint/sculpt_geodesic.c
@@ -315,8 +315,7 @@ float *SCULPT_geodesic_distances_create(Object *ob,
case PBVH_GRIDS:
return SCULPT_geodesic_fallback_create(ob, initial_vertices);
}
- BLI_assert(false);
- return NULL;
+ BLI_UNREACHABLE_ABORT;
}
float *SCULPT_geodesic_from_vertex_and_symm(Sculpt *sd,