fix dumb ass logic bug with edge cuts, actually extends edge cuts array versus overwriting it lolz (#3928)
* dumb ass logic bug with edge cuts Signed-off-by: Jess Frazelle <github@jessfraz.com> * change order Signed-off-by: Jess Frazelle <github@jessfraz.com> * A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest) * Revert "A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest)" This reverts commit1ad9eb315e
. * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest) * Revert "A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest)" This reverts commit4004c9c1db
. * A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest) * Revert "A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest)" This reverts commit57d0d05d06
. --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -128,7 +128,6 @@ async fn inner_chamfer(
|
||||
}
|
||||
|
||||
let mut extrude_group = extrude_group.clone();
|
||||
let mut edge_cuts = Vec::new();
|
||||
for edge_tag in data.tags {
|
||||
let edge_id = match edge_tag {
|
||||
EdgeReference::Uuid(uuid) => uuid,
|
||||
@ -152,7 +151,7 @@ async fn inner_chamfer(
|
||||
)
|
||||
.await?;
|
||||
|
||||
edge_cuts.push(EdgeCut::Chamfer {
|
||||
extrude_group.edge_cuts.push(EdgeCut::Chamfer {
|
||||
id,
|
||||
edge_id,
|
||||
length: data.length,
|
||||
@ -171,7 +170,5 @@ async fn inner_chamfer(
|
||||
}
|
||||
}
|
||||
|
||||
extrude_group.edge_cuts = edge_cuts;
|
||||
|
||||
Ok(extrude_group)
|
||||
}
|
||||
|
Reference in New Issue
Block a user