Skip to content
Permalink
Browse files
Add missing dynamic cast for QgsTriangle to sip bindings
  • Loading branch information
nyalldawson committed Mar 22, 2017
1 parent a8e8eec commit 7c79803cc37bd2bd79ca5c0c2d7f61b46eab61bc
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/core/geometry/qgsabstractgeometry.sip
@@ -48,6 +48,8 @@ class QgsAbstractGeometry
sipType = sipType_QgsCircularString;
else if (dynamic_cast<QgsCompoundCurve*>(sipCpp) != NULL )
sipType = sipType_QgsCompoundCurve;
else if (dynamic_cast<QgsTriangle*>(sipCpp) != NULL )
sipType = sipType_QgsTriangle;
else if (dynamic_cast<QgsPolygonV2*>(sipCpp) != NULL )
sipType = sipType_QgsPolygonV2;
else if (dynamic_cast<QgsCurvePolygon*>(sipCpp) != NULL )

0 comments on commit 7c79803

Please sign in to comment.