Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
5 additions
and
4 deletions.
-
+5
−4
src/core/symbology-ng/qgssymbolv2.cpp
|
@@ -708,15 +708,16 @@ class ExpressionContextScopePopper |
|
|
{ |
|
|
public: |
|
|
|
|
|
ExpressionContextScopePopper() = default; |
|
|
ExpressionContextScopePopper() : context( nullptr ) |
|
|
{} |
|
|
|
|
|
~ExpressionContextScopePopper() |
|
|
{ |
|
|
if ( context ) |
|
|
context->popScope(); |
|
|
} |
|
|
|
|
|
QgsExpressionContext *context = nullptr; |
|
|
QgsExpressionContext *context; |
|
|
}; |
|
|
///@endcond PRIVATE |
|
|
|
|
@@ -1154,10 +1155,10 @@ QgsMarkerSymbolV2::QgsMarkerSymbolV2( const QgsSymbolLayerV2List& layers ) |
|
|
mLayers.append( new QgsSimpleMarkerSymbolLayerV2() ); |
|
|
} |
|
|
|
|
|
void QgsMarkerSymbolV2::setAngle( double ang ) |
|
|
void QgsMarkerSymbolV2::setAngle( double angle0 ) |
|
|
{ |
|
|
double origAngle = angle(); |
|
|
double angleDiff = ang - origAngle; |
|
|
double angleDiff = angle0 - origAngle; |
|
|
Q_FOREACH ( QgsSymbolLayerV2* layer, mLayers ) |
|
|
{ |
|
|
QgsMarkerSymbolLayerV2* markerLayer = dynamic_cast<QgsMarkerSymbolLayerV2*>( layer ); |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.