Skip to content
Permalink
Browse files

PyQGIS: Fixed slightly embarrassing conversion to subclasses in symbo…

…logy-ng

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12435 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Dec 13, 2009
1 parent ae5bde8 commit d77ea9b1716326767644e4ebfe25cc142d702b12
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/core/symbology-ng-core.sip
@@ -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
@@ -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

0 comments on commit d77ea9b

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