chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9a7643
)
shapelib permute: Fix to not always crash (!)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Mar 2021 16:22:07 +0000
(16:22 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Mar 2021 16:24:26 +0000
(16:24 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/hidden.rs
patch
|
blob
|
history
diff --git
a/src/hidden.rs
b/src/hidden.rs
index 03b4ff8fe835bf957b63d85f456e8dd82b9eb6e8..22b8c9522ecdb78b17f58267d274e3360733313e 100644
(file)
--- a/
src/hidden.rs
+++ b/
src/hidden.rs
@@
-415,7
+415,7
@@
mod vpid {
pieces.push(piece);
}
- let mut new_notches =
index_vec![]
;
+ let mut new_notches =
occ.notches.table.clone()
;
for (_occilk, (notches, pieces)) in ilks {
// We must permute for if we have any views that are scrambled
// or displaced obviously. For invisible too, so that when they