Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It is
[blender.git] / source / blender / editors / uvedit / uvedit_smart_stitch.c
index 825e8b79a7d32b138088e8b5cfe1e5182dcaff14..e4599b2c30aaf39509568ec258a0243d7a421b48 100644 (file)
@@ -1749,7 +1749,7 @@ static int stitch_init(bContext *C, wmOperator *op)
        state->total_separate_edges = total_edges;
 
        /* fill the edges with data */
-       for (i = 0, BLI_ghashIterator_init(ghi, edge_hash); !BLI_ghashIterator_isDone(ghi); BLI_ghashIterator_step(ghi)) {
+       for (i = 0, BLI_ghashIterator_init(ghi, edge_hash); BLI_ghashIterator_notDone(ghi); BLI_ghashIterator_step(ghi)) {
                edges[i++] = *((UvEdge *)BLI_ghashIterator_getKey(ghi));
        }