Skip to content

Commit

Permalink
PyQGIS: Fixed slightly embarrassing conversion to subclasses in symbo…
Browse files Browse the repository at this point in the history
…logy-ng

git-svn-id: http://svn.osgeo.org/qgis/trunk@12435 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 13, 2009
1 parent 043ceed commit 04d4cf5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/core/symbology-ng-core.sip
Expand Up @@ -324,8 +324,8 @@ class QgsSymbolLayerV2
switch (sipCpp->type())
{
case QgsSymbolV2::Marker: sipClass = sipClass_QgsMarkerSymbolLayerV2; break;
case QgsSymbolV2::Line: sipClass = sipClass_QgsMarkerSymbolLayerV2; break;
case QgsSymbolV2::Fill: sipClass = sipClass_QgsMarkerSymbolLayerV2; break;
case QgsSymbolV2::Line: sipClass = sipClass_QgsLineSymbolLayerV2; break;
case QgsSymbolV2::Fill: sipClass = sipClass_QgsFillSymbolLayerV2; break;
default: sipClass = 0; break;
}
%End
Expand Down Expand Up @@ -440,8 +440,8 @@ class QgsSymbolV2
switch (sipCpp->type())
{
case QgsSymbolV2::Marker: sipClass = sipClass_QgsMarkerSymbolV2; break;
case QgsSymbolV2::Line: sipClass = sipClass_QgsMarkerSymbolV2; break;
case QgsSymbolV2::Fill: sipClass = sipClass_QgsMarkerSymbolV2; break;
case QgsSymbolV2::Line: sipClass = sipClass_QgsLineSymbolV2; break;
case QgsSymbolV2::Fill: sipClass = sipClass_QgsFillSymbolV2; break;
default: sipClass = 0; break;
}
%End
Expand Down

0 comments on commit 04d4cf5

Please sign in to comment.