Skip to content

Commit

Permalink
fix python binding for QgsVectorDataProvider::changeGeometryValues()
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 26, 2012
1 parent cfcfa08 commit 75512bc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python/core/conversions.sip
Expand Up @@ -14,7 +14,7 @@ which are not wrapped by PyQt:
- QMap<double, TYPE>
- QMultiMap<double, TYPE2>
- QMap<qint64, QgsGeometry>
- QMap<qint64, QgsOverlayObject*>*
- QMap<qint64, QgsOverlayObject*>
*/

%Feature QSETINT_CONVERSION
Expand Down Expand Up @@ -681,9 +681,6 @@ template<TYPE>
Py_ssize_t i = 0;
while (PyDict_Next(sipPy, &i, &kobj, &tobj))
{
if (!PyDict_Check(tobj))
return 0;

if (!sipCanConvertToInstance(tobj, sipClass_QgsGeometry, SIP_NOT_NONE))
return 0;
}
Expand Down

0 comments on commit 75512bc

Please sign in to comment.