[Bf-blender-cvs] [7baa3c7df3e] sculpt-dev: Sculpt Expand: Fix artifacts in sculpt geodesic distances
Pablo Dobarro
noreply at git.blender.org
Sun Feb 21 19:59:43 CET 2021
Commit: 7baa3c7df3eab4891ae5111ce1b92583b9cd21f3
Author: Pablo Dobarro
Date: Sun Feb 21 19:33:32 2021 +0100
Branches: sculpt-dev
https://developer.blender.org/rB7baa3c7df3eab4891ae5111ce1b92583b9cd21f3
Sculpt Expand: Fix artifacts in sculpt geodesic distances
===================================================================
M source/blender/editors/sculpt_paint/sculpt_geodesic.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_geodesic.c b/source/blender/editors/sculpt_paint/sculpt_geodesic.c
index 2106069a4d7..27dfe97cdbf 100644
--- a/source/blender/editors/sculpt_paint/sculpt_geodesic.c
+++ b/source/blender/editors/sculpt_paint/sculpt_geodesic.c
@@ -183,8 +183,8 @@ static float *SCULPT_geodesic_mesh_create(Object *ob,
}
do {
- int e;
- while (e = BLI_LINKSTACK_POP(queue)) {
+ while (BLI_LINKSTACK_SIZE(queue)) {
+ const int e = BLI_LINKSTACK_POP(queue);
int v1 = edges[e].v1;
int v2 = edges[e].v2;
More information about the Bf-blender-cvs
mailing list