MCPcopy Create free account
hub / github.com/CNCKitchen/stlTexturizer / getInputPrecision

Function getInputPrecision

js/main.js:2696–2706  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

2694 _falloffDirty = true;
2695
2696 // Never show the flat-coloured MeshLambertMaterial overlay — the custom
2697 // shader handles mask visualisation with smooth, view-dependent shading.
2698 setExclusionOverlay(null);
2699 const n = usePrecision ? precisionExcludedFaces.size : excludedFaces.size;
2700 exclCount.textContent = selectionMode
2701 ? t(n === 1 ? 'excl.faceSelected' : 'excl.facesSelected', { n: n.toLocaleString() })
2702 : t(n === 1 ? 'excl.faceExcluded' : 'excl.facesExcluded', { n: n.toLocaleString() });
2703
2704 // Update the faceMask attribute on the active preview geometry so the shader
2705 // reflects user-painted exclusions in real time.
2706 const activeGeo = usePrecision
2707 ? precisionGeometry
2708 : (settings.useDisplacement && dispPreviewGeometry)
2709 ? dispPreviewGeometry : currentGeometry;

Callers 2

formatInputValueFunction · 0.85
addFineWheelSupportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected