Skip to content
Permalink
Browse files
marker data defined anchor fix, fixes #9579
  • Loading branch information
blazek committed May 19, 2014
1 parent a76ec72 commit f4705703f60e5c1ac37bf49c49f0bcdae24a73e9
@@ -292,6 +292,7 @@ QString QgsEllipseSymbolLayerV2::layerType() const

void QgsEllipseSymbolLayerV2::startRender( QgsSymbolV2RenderContext& context )
{
QgsMarkerSymbolLayerV2::startRender( context ); // get anchor point expressions
if ( !context.feature() || !hasDataDefinedProperty() )
{
preparePath( mSymbolName, context );
@@ -1124,6 +1124,7 @@ QString QgsSvgMarkerSymbolLayerV2::layerType() const

void QgsSvgMarkerSymbolLayerV2::startRender( QgsSymbolV2RenderContext& context )
{
QgsMarkerSymbolLayerV2::startRender( context ); // get anchor point expressions
mOrigSize = mSize; // save in case the size would be data defined
Q_UNUSED( context );
prepareExpressions( context.fields(), context.renderContext().rendererScale() );
@@ -102,12 +102,14 @@ QString QgsDataDefinedSymbolDialog::fileNameHelpText()

QString QgsDataDefinedSymbolDialog::horizontalAnchorHelpText()
{
return tr( "'left'|'center'|'right'" );
// Don't translate, localized keywords are not supported.
return "'left'|'center'|'right'";
}

QString QgsDataDefinedSymbolDialog::verticalAnchorHelpText()
{
return tr( "'top'|'center'|'bottom'" );
// Don't translate, localized keywords are not supported.
return "'top'|'center'|'bottom'";
}

QString QgsDataDefinedSymbolDialog::gradientTypeHelpText()

0 comments on commit f470570

Please sign in to comment.