Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_convert_image_to_mesh_img/mesh/dtm.py')
-rw-r--r--io_convert_image_to_mesh_img/mesh/dtm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_convert_image_to_mesh_img/mesh/dtm.py b/io_convert_image_to_mesh_img/mesh/dtm.py
index a6ab6e30..497ebb2b 100644
--- a/io_convert_image_to_mesh_img/mesh/dtm.py
+++ b/io_convert_image_to_mesh_img/mesh/dtm.py
@@ -130,7 +130,7 @@ class DTM:
def _get_data_start(self):
"""Gets the start position of the DTM data block"""
label_length = self.label['RECORD_BYTES']
- num_labels = self.label.get('LABEL_RECORDS', 1)
+ num_labels = self.label.get(text='LABEL_RECORDS', 1)
return int(label_length * num_labels)
def _process_invalid_data(self, data):