Skip to content

Commit 099ce2d

Browse files
authored
contrib/gradual_selection_mesh.py and contrib/save_chunks.py: bug-fixes, #42
1 parent 911c4d8 commit 099ce2d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/contrib/gradual_selection_mesh.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Metashape
2+
import math
23

34
"""
45
Metashape Mesh debris Filter Script (v 1.1)

src/contrib/save_chunks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020

2121
for chunk in chunks:
2222
if chunk.enabled is True:
23-
doc.save(path = "/".join(doc.path.split("/")[:-1]) + "/" + chunk.label + "_chunks/" + chunk.label + ".psx", chunks = [doc.chunk])
23+
doc.save(path = "/".join(doc.path.split("/")[:-1]) + "/" + chunk.label + "_chunks/" + chunk.label + ".psx", chunks = [chunk])

0 commit comments

Comments
 (0)