[QGIS Commit] [qgis/Quantum-GIS] dc860f: When calling setFields, automatically initalize at...
GitHub
noreply at github.com
Wed Jun 5 03:02:09 PDT 2013
Branch: refs/heads/master
Home: https://github.com/qgis/Quantum-GIS
Commit: dc860f75ed039981db5a916dfae9f2918111be2c
https://github.com/qgis/Quantum-GIS/commit/dc860f75ed039981db5a916dfae9f2918111be2c
Author: Matthias Kuhn <matthias.kuhn at gmx.ch>
Date: 2013-06-05 (Wed, 05 Jun 2013)
Changed paths:
M python/core/qgsfeature.sip
M src/core/qgsfeature.cpp
M src/core/qgsfeature.h
Log Message:
-----------
When calling setFields, automatically initalize attributes
That what you want most of the time when creating a new feature within a plugin.
Therefore defaults to true when used from python, but to false when used from C++
More information about the QGIS-commit
mailing list