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

Huidae Cho noreply at github.com
Tue Mar 23 15:38:38 PDT 2021


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: c6999b7c356170e3d1fc51a7d4a90797eb062e5e
      https://github.com/OSGeo/grass/commit/c6999b7c356170e3d1fc51a7d4a90797eb062e5e
  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) (#1479)

* 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