mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-22 03:49:18 +02:00
Merge pull request #1440 from Person2099/fix/filament-override-ams-mapping-dispatch
fix: compute AMS mapping from force-colour overrides when 3MF reqs unavailable
This commit is contained in:
@@ -106,7 +106,7 @@ export const EFFECT_OVERLAYS: Partial<
|
||||
Record<FilamentEffect, (effectSeed?: number, effectSize?: SwatchType) => EffectLayer>
|
||||
> = {
|
||||
// Sparkle: bright flecks — positions seeded from spool color+extracolors+subtype+effectType.
|
||||
// to give identical spools the same sparkle pattern while different spools get different patterns.
|
||||
// to give identical spools the same sparkle pattern while different spools get different patterns.
|
||||
sparkle: (spoolSeed = 0, effectSize = 'table') => {
|
||||
const rand = random_mulberry32(spoolSeed);
|
||||
const preset = SWATCH_TYPE_PRESETS[effectSize] ?? SWATCH_TYPE_PRESETS.table;
|
||||
|
||||
Reference in New Issue
Block a user