summaryrefslogtreecommitdiffstats
path: root/src/object/sp-mesh-array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-mesh-array.cpp')
-rw-r--r--src/object/sp-mesh-array.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/object/sp-mesh-array.cpp b/src/object/sp-mesh-array.cpp
index 848e8de3b..61e803c44 100644
--- a/src/object/sp-mesh-array.cpp
+++ b/src/object/sp-mesh-array.cpp
@@ -860,9 +860,8 @@ bool SPMeshNodeArray::read( SPMeshGradient *mg_in ) {
new_patch.setOpacity( istop, opacity );
new_patch.setStopPtr( istop, stop );
}
-
+ ++istop;
}
- ++istop;
} // Loop over stops
// Read in tensor string after stops since tensor nodes defined relative to corner nodes.
@@ -887,13 +886,12 @@ bool SPMeshNodeArray::read( SPMeshGradient *mg_in ) {
}
}
}
+ ++icolumn;
+ if( max_column < icolumn ) max_column = icolumn;
}
-
- ++icolumn;
- if( max_column < icolumn ) max_column = icolumn;
}
+ ++irow;
}
- ++irow;
}
// Insure we have a true array.