[GRASS-SVN] r58486 - grass/branches/releasebranch_6_4/vector/v.vol.rst

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 18 14:02:00 PST 2013


Author: annakrat
Date: 2013-12-18 14:02:00 -0800 (Wed, 18 Dec 2013)
New Revision: 58486

Modified:
   grass/branches/releasebranch_6_4/vector/v.vol.rst/user1.c
Log:
v.vol.rst: fix r58478 - flip rows for mask only (merged from trunk, r58485)

Modified: grass/branches/releasebranch_6_4/vector/v.vol.rst/user1.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.vol.rst/user1.c	2013-12-18 22:00:13 UTC (rev 58485)
+++ grass/branches/releasebranch_6_4/vector/v.vol.rst/user1.c	2013-12-18 22:02:00 UTC (rev 58486)
@@ -440,7 +440,7 @@
 	cnt = 0;
 	for (iarc = 0; iarc < nsizl; iarc++) {
 
-	    for (y = 0; y < nsizr; y++) {
+	    for (y = nsizr - 1; y >= 0; y--) {  /* changed by AV */
 		for (x = 0; x < nsizc; x++) {
 		    if (maskmap != NULL)
 			bmask = BM_get(bitmask, x, y);
@@ -491,7 +491,7 @@
 	cnt = 0;
 	for (iarc = 0; iarc < nsizl; iarc++) {
 
-	    for (y = 0; y < nsizr; y++) {
+	    for (y = nsizr - 1; y >= 0; y--) {  /* changed by AV */
 		for (x = 0; x < nsizc; x++) {
 		    if (maskmap != NULL)
 			bmask = BM_get(bitmask, x, y);
@@ -542,7 +542,7 @@
 	cnt = 0;
 	for (iarc = 0; iarc < nsizl; iarc++) {
 
-	    for (y = 0; y < nsizr; y++) {
+	    for (y = nsizr - 1; y >= 0; y--) {  /* changed by AV */
 		for (x = 0; x < nsizc; x++) {
 		    if (maskmap != NULL)
 			bmask = BM_get(bitmask, x, y);
@@ -593,7 +593,7 @@
 	cnt = 0;
 	for (iarc = 0; iarc < nsizl; iarc++) {
 
-	    for (y = 0; y < nsizr; y++) {
+	    for (y = nsizr - 1; y >= 0; y--) {  /* changed by AV */
 		for (x = 0; x < nsizc; x++) {
 		    if (maskmap != NULL)
 			bmask = BM_get(bitmask, x, y);
@@ -644,7 +644,7 @@
 	cnt = 0;
 	for (iarc = 0; iarc < nsizl; iarc++) {
 
-	    for (y = 0; y < nsizr; y++) {
+	    for (y = nsizr - 1; y >= 0; y--) {  /* changed by AV */
 		for (x = 0; x < nsizc; x++) {
 		    if (maskmap != NULL)
 			bmask = BM_get(bitmask, x, y);
@@ -695,7 +695,7 @@
 	cnt = 0;
 	for (iarc = 0; iarc < nsizl; iarc++) {
 
-	    for (y = 0; y < nsizr; y++) {
+	    for (y = nsizr - 1; y >= 0; y--) {  /* changed by AV */
 		for (x = 0; x < nsizc; x++) {
 		    if (maskmap != NULL)
 			bmask = BM_get(bitmask, x, y);
@@ -746,7 +746,7 @@
 	cnt = 0;
 	for (iarc = 0; iarc < nsizl; iarc++) {
 
-	    for (y = 0; y < nsizr; y++) {
+	    for (y = nsizr - 1; y >= 0; y--) {  /* changed by AV */
 		for (x = 0; x < nsizc; x++) {
 		    if (maskmap != NULL)
 			bmask = BM_get(bitmask, x, y);



More information about the grass-commit mailing list