Skip to content

Commit 4fb3564

Browse files
committed
demo: Disable normal crease protection by default
In permissive mode we no longer need this as the simplifier will correctly trace the hard edges by itself. We still keep the option for testing just in case, but it's no longer preferred and isn't the default.
1 parent eaaf861 commit 4fb3564

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/simplify.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
debugOverlay: false,
156156
sloppy: false,
157157
permissive: false,
158-
permissiveProtection: 3,
158+
permissiveProtection: 2, // uvs
159159
lockBorder: false,
160160
preprune: 0.0,
161161
prune: true,
@@ -207,7 +207,7 @@
207207
guiSimplify.add(settings, 'ratio', 0, 1, 0.01).onChange(simplify);
208208
guiSimplify.add(settings, 'sloppy').onChange(simplify);
209209
guiSimplify.add(settings, 'permissive').onChange(simplify);
210-
guiSimplify.add(settings, 'permissiveProtection', { none: 0, normals: 1, uvs: 2, all: 3 }).onChange(simplify);
210+
guiSimplify.add(settings, 'permissiveProtection', { none: 0, uvs: 2, normals: 1, all: 3 }).onChange(simplify);
211211
guiSimplify.add(settings, 'lockBorder').onChange(simplify);
212212
guiSimplify.add(settings, 'prune').onChange(simplify);
213213
guiSimplify.add(settings, 'regularize').onChange(simplify);

0 commit comments

Comments
 (0)