feat: added a precision mode for masking

This commit is contained in:
CNCKitchen
2026-04-03 14:11:40 +02:00
parent 3c94df4504
commit 1c58ebcc80
4 changed files with 494 additions and 33 deletions
+16
View File
@@ -287,6 +287,22 @@
</button>
</div>
<!-- Precision masking toggle -->
<div id="precision-masking-row" class="form-row precision-masking-row hidden">
<label class="precision-label">
<input type="checkbox" id="precision-masking-toggle" />
<span data-i18n="precision.label" data-i18n-title="precision.labelTitle"
title="Subdivide mesh in the background so the brush selects at finer granularity">Precision ⓘ</span>
</label>
<span id="precision-status" class="precision-status"></span>
<span id="precision-outdated" class="precision-outdated hidden"
data-i18n="precision.outdated">⚠ Outdated</span>
<button id="precision-refresh-btn" class="precision-refresh-btn hidden"
data-i18n-title="precision.refreshTitle"
title="Re-subdivide mesh to match current brush size"></button>
</div>
<div id="precision-warning" class="precision-warning hidden"></div>
<!-- Brush type switcher (shown only when Brush is active) -->
<div id="excl-brush-type-row" class="form-row hidden">
<label data-i18n="labels.type">Type</label>