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_types.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_types.h')
-rw-r--r--source/blender/makesdna/DNA_brush_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index c55ab81a733..a7e15ac9547 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -334,6 +334,9 @@ typedef struct Brush {
/* pose */
float pose_offset;
+ int pose_smooth_iterations;
+
+ char _pad2[4];
/* multiplane scrape */
float multiplane_scrape_angle;