Sculpt Expand: Fix artifacts in sculpt geodesic distances

This commit is contained in:
Pablo Dobarro 2021-02-21 19:33:32 +01:00
parent 06a8b84792
commit 7baa3c7df3
1 changed files with 2 additions and 2 deletions

View File

@ -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;