Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It is
[blender.git] / source / blender / blenkernel / BKE_pbvh.h
index 99ed978561e29d19c79a2237b434613bad427f8c..cdc8ef0bdf441808bc5dea8357ec29436ce4167d 100644 (file)
@@ -295,7 +295,7 @@ void pbvh_vertex_iter_init(PBVH *bvh, PBVHNode *node,
                                                vi.mask = &vi.vmask[vi.vert_indices[vi.gx]]; \
                                } \
                                else { \
-                                       if (!BLI_ghashIterator_isDone(&vi.bm_unique_verts)) {\
+                                       if (BLI_ghashIterator_notDone(&vi.bm_unique_verts)) {\
                                                vi.bm_vert = BLI_ghashIterator_getKey(&vi.bm_unique_verts); \
                                                BLI_ghashIterator_step(&vi.bm_unique_verts); \
                                        } \