Skip to content

Commit 044764d

Browse files
committed
Allow Filaments to be loaded into multiple tools
Remove the filter that stops filaments from being loaded into multiple tools.
1 parent 7eb891d commit 044764d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/components/dialogs/FilamentDialog.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ export default {
6363
this.loading = true
6464
try {
6565
const response = await this.getFileList(this.filamentsDirectory);
66-
this.filaments = response.filter(item => item.isDirectory).map(item => item.name).filter(function(filament) {
67-
// Exclude filaments that are already loaded (RRF does not allow loading the same filament into multiple tools)
68-
return !this.extruders.some(extruder => extruder.filament === filament);
69-
}, this);
66+
this.filaments = response.filter(item => item.isDirectory).map(item => item.name), this);
7067
} catch (e) {
7168
if (!(e instanceof DisconnectedError)) {
7269
console.warn(e);

0 commit comments

Comments
 (0)