"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/symbology/qgsmarkersymbollayer.cpp" between
QGIS-final-3_14_15.tar.gz and QGIS-final-3_14_16.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Latest release (3.14.x series).

qgsmarkersymbollayer.cpp  (QGIS-final-3_14_15):qgsmarkersymbollayer.cpp  (QGIS-final-3_14_16)
skipping to change at line 1894 skipping to change at line 1894
{ {
if ( saving ) if ( saving )
it.value() = QgsSymbolLayerUtils::svgSymbolPathToName( it.value(), pathRes olver ); it.value() = QgsSymbolLayerUtils::svgSymbolPathToName( it.value(), pathRes olver );
else else
it.value() = QgsSymbolLayerUtils::svgSymbolNameToPath( it.value(), pathRes olver ); it.value() = QgsSymbolLayerUtils::svgSymbolNameToPath( it.value(), pathRes olver );
} }
} }
void QgsSvgMarkerSymbolLayer::setPath( const QString &path ) void QgsSvgMarkerSymbolLayer::setPath( const QString &path )
{ {
mDefaultAspectRatio = 0;
mPath = path; mPath = path;
QColor defaultFillColor, defaultStrokeColor; QColor defaultFillColor, defaultStrokeColor;
double strokeWidth, fillOpacity, strokeOpacity; double strokeWidth, fillOpacity, strokeOpacity;
bool hasFillParam = false, hasFillOpacityParam = false, hasStrokeParam = false , hasStrokeWidthParam = false, hasStrokeOpacityParam = false; bool hasFillParam = false, hasFillOpacityParam = false, hasStrokeParam = false , hasStrokeWidthParam = false, hasStrokeOpacityParam = false;
bool hasDefaultFillColor = false, hasDefaultFillOpacity = false, hasDefaultStr okeColor = false, hasDefaultStrokeWidth = false, hasDefaultStrokeOpacity = false ; bool hasDefaultFillColor = false, hasDefaultFillOpacity = false, hasDefaultStr okeColor = false, hasDefaultStrokeWidth = false, hasDefaultStrokeOpacity = false ;
QgsApplication::svgCache()->containsParams( path, hasFillParam, hasDefaultFill Color, defaultFillColor, QgsApplication::svgCache()->containsParams( path, hasFillParam, hasDefaultFill Color, defaultFillColor,
hasFillOpacityParam, hasDefaultFillOpacity, fillOpacity, hasFillOpacityParam, hasDefaultFillOpacity, fillOpacity,
hasStrokeParam, hasDefaultStrokeColor, defaultStrokeColor, hasStrokeParam, hasDefaultStrokeColor, defaultStrokeColor,
hasStrokeWidthParam, hasDefaultStrokeWidth, strokeWidth, hasStrokeWidthParam, hasDefaultStrokeWidth, strokeWidth,
hasStrokeOpacityParam, hasDefaultStrokeOpacity, strokeOpacity ); hasStrokeOpacityParam, hasDefaultStrokeOpacity, strokeOpacity );
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)