diff --git a/VoGisProfilTool/VoGisProfilTool.zip b/VoGisProfilTool/VoGisProfilTool.zip index 72c3680..daabc89 100644 Binary files a/VoGisProfilTool/VoGisProfilTool.zip and b/VoGisProfilTool/VoGisProfilTool.zip differ diff --git a/VoGisProfilTool/metadata.txt b/VoGisProfilTool/metadata.txt index 995c634..c2dbf3d 100644 --- a/VoGisProfilTool/metadata.txt +++ b/VoGisProfilTool/metadata.txt @@ -13,7 +13,7 @@ name=VoGIS-ProfilTool qgisMinimumVersion=1.8 qgisMaximumVersion=2.99 description=Create profiles from DHMs using vector geometries or a digitized line. -version=1.8.5 +version=1.8.6 author=BergWerk GIS email=wb@BergWerk-GIS.at diff --git a/VoGisProfilTool/resources_rc.py b/VoGisProfilTool/resources_rc.py index d22294a..c38da45 100644 --- a/VoGisProfilTool/resources_rc.py +++ b/VoGisProfilTool/resources_rc.py @@ -2,7 +2,7 @@ # Resource object code # -# Created: Di. Jän 28 19:10:50 2014 +# Created: Sa. Mär 22 22:07:45 2014 # by: The Resource Compiler for PyQt (Qt v4.8.1) # # WARNING! All changes made in this file will be lost! diff --git a/VoGisProfilTool/ui/ui_vogisprofiltoolmain.py b/VoGisProfilTool/ui/ui_vogisprofiltoolmain.py index b047255..833cf18 100644 --- a/VoGisProfilTool/ui/ui_vogisprofiltoolmain.py +++ b/VoGisProfilTool/ui/ui_vogisprofiltoolmain.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'ui/ui_vogisprofiltoolmain.ui' # -# Created: Tue Jan 28 19:10:50 2014 +# Created: Sat Mar 22 22:07:44 2014 # by: PyQt4 UI code generator 4.9.1 # # WARNING! All changes made in this file will be lost! diff --git a/VoGisProfilTool/ui/ui_vogisprofiltoolplot.py b/VoGisProfilTool/ui/ui_vogisprofiltoolplot.py index 8e22d82..c28fff1 100644 --- a/VoGisProfilTool/ui/ui_vogisprofiltoolplot.py +++ b/VoGisProfilTool/ui/ui_vogisprofiltoolplot.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'ui/ui_vogisprofiltoolplot.ui' # -# Created: Tue Jan 28 19:10:50 2014 +# Created: Sat Mar 22 22:07:45 2014 # by: PyQt4 UI code generator 4.9.1 # # WARNING! All changes made in this file will be lost! diff --git a/VoGisProfilTool/util/createProfile.py b/VoGisProfilTool/util/createProfile.py index 5ab4e0e..8a9c6b7 100644 --- a/VoGisProfilTool/util/createProfile.py +++ b/VoGisProfilTool/util/createProfile.py @@ -21,6 +21,7 @@ from qgis.core import * from math import * from PyQt4.QtGui import QMessageBox +from PyQt4.QtGui import QApplication #if QGis.QGIS_VERSION_INT >= 10900: # import processing diff --git a/VoGisProfilTool/util/u.py b/VoGisProfilTool/util/u.py index 7be7e1d..7731532 100644 --- a/VoGisProfilTool/util/u.py +++ b/VoGisProfilTool/util/u.py @@ -4,6 +4,7 @@ from os.path import basename from PyQt4.QtCore import * from PyQt4.QtGui import * +import pdb from qgis.core import QGis if QGis.QGIS_VERSION_INT < 10900: import ogr @@ -251,10 +252,13 @@ def explodeMultiPartFeature(self, provider, feat): newAttribs[j] = provider.defaultValue(j) tmpFeat.setAttributeMap(newAttribs) else: + #pyqtRemoveInputHook() + #pdb.set_trace() newAttribs = feat.attributes() for j in range(newAttribs.__len__()): - if not provider.defaultValue(j).isNull(): - newAttribs[j] = provider.defaultValue(j) + #if not provider.defaultValue(j).isNull(): + # newAttribs[j] = provider.defaultValue(j) + newAttribs[j] = provider.defaultValue(j) tmpFeat.setAttributes(newAttribs) parts = feat.geometry().asGeometryCollection()