[GRASS-SVN] r58488 - grass/branches/develbranch_6/vector/v.vol.rst
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 18 14:02:39 PST 2013
Author: annakrat
Date: 2013-12-18 14:02:39 -0800 (Wed, 18 Dec 2013)
New Revision: 58488
Modified:
grass/branches/develbranch_6/vector/v.vol.rst/user1.c
Log:
v.vol.rst: fix r58478 - flip rows for mask only (merged from trunk, r58485)
Modified: grass/branches/develbranch_6/vector/v.vol.rst/user1.c
===================================================================
--- grass/branches/develbranch_6/vector/v.vol.rst/user1.c 2013-12-18 22:02:11 UTC (rev 58487)
+++ grass/branches/develbranch_6/vector/v.vol.rst/user1.c 2013-12-18 22:02:39 UTC (rev 58488)
@@ -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