[GRASS-git] [OSGeo/grass] 98ba91: v.colors: Fix color inversion (#1478)

Huidae Cho noreply at github.com
Tue Mar 23 03:58:56 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 98ba91a8739936f4e670fec80a851263dbda36e8
      https://github.com/OSGeo/grass/commit/98ba91a8739936f4e670fec80a851263dbda36e8
  Author: Huidae Cho <grass4u at gmail.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M vector/v.colors/local_proto.h
    M vector/v.colors/main.c
    M vector/v.colors/make_colors.c
    M vector/v.colors/scan_attr.c
    M vector/v.colors/scan_cats.c
    M vector/v.colors/scan_z.c
    M vector/v.colors/write_rgb.c

  Log Message:
  -----------
  v.colors: Fix color inversion (#1478)

* v.colors: Fix color inversion

* 80 columns

* Consistent spacing after casting

* Use val.i for CELL

* Use Rast_invert_colors() instead of invert_cat_colors() for cat-based colors




More information about the grass-commit mailing list