[GRASS-SVN] r58485 - grass/trunk/vector/v.vol.rst
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 18 14:00:13 PST 2013
Author: annakrat
Date: 2013-12-18 14:00:13 -0800 (Wed, 18 Dec 2013)
New Revision: 58485
Modified:
grass/trunk/vector/v.vol.rst/user1.c
Log:
v.vol.rst: fix r58478 - flip rows for mask only
Modified: grass/trunk/vector/v.vol.rst/user1.c
===================================================================
--- grass/trunk/vector/v.vol.rst/user1.c 2013-12-18 21:35:07 UTC (rev 58484)
+++ grass/trunk/vector/v.vol.rst/user1.c 2013-12-18 22:00:13 UTC (rev 58485)
@@ -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);
@@ -490,7 +490,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);
@@ -540,7 +540,7 @@
cnt = 0;
for (iarc = 0; iarc < nsizl; iarc++) {
- for (y = 0; y < nsizr; y++) { /* changed by AV */
+ 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);
@@ -590,7 +590,7 @@
cnt = 0;
for (iarc = 0; iarc < nsizl; iarc++) {
- for (y = 0; y < nsizr; y++) { /* changed by AV */
+ 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);
@@ -640,7 +640,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);
@@ -690,7 +690,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);
@@ -740,7 +740,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