Skip to content
Open
Changes from 1 commit
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
3 changes: 1 addition & 2 deletions ir/src/part.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,9 @@ impl PartBufferBundleBuilder {
(ColorReference::Current | ColorReference::Complement, false) => {
Some(&mut self.uncolored_without_bfc_mesh)
}
(ColorReference::Color(_), _) => {
(ColorReference::Color(_) | ColorReference::Unknown(_) | ColorReference::Unresolved(_), _) => {
Some(self.colored_meshes.entry(group.clone()).or_default())
}
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — addressed in f36398c. query_mesh now returns &mut MeshBuffer directly, the call site is simplified accordingly, and the dead Skipping unknown color group_key branch is gone.

_ => None,
}
}

Expand Down
Loading