Let a spool keep its own empty weight (issue #2908) (#3011)

This commit is contained in:
Kouki Ojima
2026-09-28 14:48:04 +02:00
committed by GitHub
parent 63e987e591
commit b6521e93f8
31 changed files with 559 additions and 82 deletions
+3
View File
@@ -3626,6 +3626,9 @@ export interface InventorySpool {
brand: string | null;
label_weight: number;
core_weight: number;
// Spoolman-backed inventory only: true when the spool has no tare of its
// own and core_weight is the filament type's. Absent for local spools (#2908).
core_weight_is_inherited?: boolean;
core_weight_catalog_id: number | null;
weight_used: number;
// Anchor for the resettable "Total Consumed" display (#1390). The