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:
authorPablo Dobarro <pablodp606@gmail.com>2019-11-17 03:09:08 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-11-21 20:41:58 +0300
commit186bd1759f05c71c5c44391a5925b0f43cbd3383 (patch)
tree56b8abcb5e985375769cea8a7df1ca711ff631f8 /source/blender/makesdna/DNA_brush_defaults.h
parent470fe59f7e87fc01c9ff86a65c591ea9833ba1aa (diff)
Pose brush: Smooth Iterations Brush Property
The smooth iterations of the pose factor were hardcoded to 4. This works fine in most situations when you are posing a low poly mesh, which is the main use case of this tool. I added the smooth iterations as a brush property in case you need to pose a high poly mesh directly without producing artifacts. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6157
Diffstat (limited to 'source/blender/makesdna/DNA_brush_defaults.h')
-rw-r--r--source/blender/makesdna/DNA_brush_defaults.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_defaults.h b/source/blender/makesdna/DNA_brush_defaults.h
index ff1f8c9a1c0..9d3689ce4ee 100644
--- a/source/blender/makesdna/DNA_brush_defaults.h
+++ b/source/blender/makesdna/DNA_brush_defaults.h
@@ -95,6 +95,7 @@
\
/* sculpting defaults to the draw tool for new brushes */ \
.sculpt_tool = SCULPT_TOOL_DRAW, \
+ .pose_smooth_iterations = 4, \
\
/* A kernel radius of 1 has almost no effect (T63233). */ \
.blur_kernel_radius = 2, \