Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It is
[blender.git] / source / blender / editors / sculpt_paint / sculpt_uv.c
index 3baf5d8abf74f3cd534c3cddbfbd13425ae29099..b40933c50cb058eed1fe5d3a7079e6979dd00974 100644 (file)
@@ -712,7 +712,7 @@ static UvSculptData *uv_sculpt_stroke_init(bContext *C, wmOperator *op, wmEvent
                        return NULL;
                }
                /* fill the edges with data */
-               for (i = 0; !BLI_ghashIterator_isDone(ghi); BLI_ghashIterator_step(ghi)) {
+               for (i = 0; BLI_ghashIterator_notDone(ghi); BLI_ghashIterator_step(ghi)) {
                        data->uvedges[i++] = *((UvEdge *)BLI_ghashIterator_getKey(ghi));
                }
                data->totalUvEdges = BLI_ghash_size(edgeHash);