Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYimingWu <xp8110@outlook.com>2021-03-19 13:47:40 +0300
committerSebastian Parborg <darkdefende@gmail.com>2021-03-19 20:31:03 +0300
commitcff4445a86b003f386bcf17e7098b477edab2dc6 (patch)
treee372b7bc17aa35676810c28aa8f2e395070a0d3e
parent3420c3d8c6cc026df093133799f116021aa9ba51 (diff)
LineArt: Modifier defaults settings optimization.
Make options that are usually only useful in edge cases off by default. These settings would requite extra work and thus the modifier evaluation would be needlessly slower as most users do not need these options to be on.
-rw-r--r--source/blender/makesdna/DNA_gpencil_modifier_defaults.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_defaults.h b/source/blender/makesdna/DNA_gpencil_modifier_defaults.h
index 4f6ef6ab7ce..2478bbe88ba 100644
--- a/source/blender/makesdna/DNA_gpencil_modifier_defaults.h
+++ b/source/blender/makesdna/DNA_gpencil_modifier_defaults.h
@@ -290,7 +290,7 @@
.opacity = 1.0f, \
.flags = LRT_GPENCIL_MATCH_OUTPUT_VGROUP | LRT_GPENCIL_SOFT_SELECTION, \
.crease_threshold = DEG2RAD(140.0f), \
- .calculation_flags = LRT_ALLOW_DUPLI_OBJECTS | LRT_REMOVE_DOUBLES | LRT_ALLOW_OVERLAPPING_EDGES | LRT_ALLOW_CLIPPING_BOUNDARIES, \
+ .calculation_flags = LRT_ALLOW_DUPLI_OBJECTS | LRT_ALLOW_CLIPPING_BOUNDARIES, \
.angle_splitting_threshold = DEG2RAD(60.0f), \
.chaining_image_threshold = 0.001f, \
}