Skip to content
Merged

Next #146

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# CHANGELOG


## v5.7.3-rc.1 (2025-05-20)

### Bug Fixes

- **blueprint_models**: Set current_index
([`1e831c7`](https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/1e831c792d99bd812234e7a03cab25902dc6c9fb))


## v5.7.2 (2025-05-19)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "OpenGeodeWeb-Back"
version = "5.7.2"
version = "5.7.3-rc.1"
dynamic = ["dependencies"]
authors = [
{ name="Geode-solutions", email="[email protected]" },
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_back/routes/models/blueprint_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ def uuid_to_flat_index():
tree = ET.parse(vtm_file_path)
root = tree.find("vtkMultiBlockDataSet")
uuid_to_flat_index = {}
current_index = 1
current_index = 0

for elem in root.iter():
if "uuid" in elem.attrib and elem.tag == "DataSet":
uuid_to_flat_index[elem.attrib["uuid"]] = current_index

current_index += 1

return flask.make_response(
Expand Down