Skip to content
Permalink
Browse files

Fix fill and outline color for svg markers sometimes enabled

when SVG file does not support parameters
  • Loading branch information
nyalldawson committed Oct 11, 2015
1 parent 9287ee7 commit 3aa6c4f0120bb5d9d5297d9d9f5503c38ff9a977
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/symbology-ng/qgssvgcache.cpp
@@ -227,6 +227,9 @@ QgsSvgCacheEntry* QgsSvgCache::insertSVG( const QString& file, double size, cons
void QgsSvgCache::containsParams( const QString& path, bool& hasFillParam, QColor& defaultFillColor, bool& hasOutlineParam, QColor& defaultOutlineColor,
bool& hasOutlineWidthParam, double& defaultOutlineWidth ) const
{
hasFillParam = false;
hasOutlineParam = false;
hasOutlineWidthParam = false;
defaultFillColor = QColor( Qt::black );
defaultOutlineColor = QColor( Qt::black );
defaultOutlineWidth = 0.2;

0 comments on commit 3aa6c4f

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