Skip to content
Permalink
Browse files

Fixes to 2.5d renderer

- support holes in polygons and multi-polygons
- make sure not to overshoot value in HSV color (max. 100) - Qt spits out warnings
  • Loading branch information
wonder-sk committed Jan 27, 2016
1 parent 9fd6b24 commit cc6721c1a95503df4da836e26cb84f2e7bb72530
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/symbology-ng/qgs25drenderer.cpp
@@ -30,7 +30,7 @@
#define WALL_EXPRESSION \
"order_parts( "\
" extrude(" \
" segments_to_lines( exterior_ring( $geometry ) )," \
" segments_to_lines( $geometry )," \
" cos( radians( eval( @qgis_25d_angle ) ) ) * eval( @qgis_25d_height )," \
" sin( radians( eval( @qgis_25d_angle ) ) ) * eval( @qgis_25d_height )" \
" )," \
@@ -52,7 +52,7 @@
"set_color_part( " \
" @symbol_color," \
" 'value'," \
" 40 + 20 * abs( $pi - azimuth( " \
" 40 + 19 * abs( $pi - azimuth( " \
" point_n( geometry_n($geometry, @geometry_part_num) , 1 ), " \
" point_n( geometry_n($geometry, @geometry_part_num) , 2 )" \
" ) ) " \

0 comments on commit cc6721c

Please sign in to comment.
You can’t perform that action at this time.