Skip to content

Commit cc6721c

Browse files
committedJan 27, 2016
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
1 parent 9fd6b24 commit cc6721c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/core/symbology-ng/qgs25drenderer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#define WALL_EXPRESSION \
3131
"order_parts( "\
3232
" extrude(" \
33-
" segments_to_lines( exterior_ring( $geometry ) )," \
33+
" segments_to_lines( $geometry )," \
3434
" cos( radians( eval( @qgis_25d_angle ) ) ) * eval( @qgis_25d_height )," \
3535
" sin( radians( eval( @qgis_25d_angle ) ) ) * eval( @qgis_25d_height )" \
3636
" )," \
@@ -52,7 +52,7 @@
5252
"set_color_part( " \
5353
" @symbol_color," \
5454
" 'value'," \
55-
" 40 + 20 * abs( $pi - azimuth( " \
55+
" 40 + 19 * abs( $pi - azimuth( " \
5656
" point_n( geometry_n($geometry, @geometry_part_num) , 1 ), " \
5757
" point_n( geometry_n($geometry, @geometry_part_num) , 2 )" \
5858
" ) ) " \

0 commit comments

Comments
 (0)
Please sign in to comment.