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>2020-01-23 23:12:20 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-01-29 18:47:24 +0300
commite7c90438e014f5c2f951ec965db20eea1bd783fa (patch)
treee3bf86b6d85e2b92da5aaab70a9703d960979a17 /source/blender/makesdna/DNA_brush_defaults.h
parent18c88eac171a814f94142d442494ea6f5eeeab02 (diff)
Fix T73054: Add DNA defaults for pose_ik_segments
This fixes the crash with pose_ik_segments = 0 in old files. Some files were saved with the property set to 0, so the versioning code won't work in that cases. I also changed that to fix the crash in those files. Reviewed By: brecht Maniphest Tasks: T73054 Differential Revision: https://developer.blender.org/D6663
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 f7998fab8db..eec154ea09d 100644
--- a/source/blender/makesdna/DNA_brush_defaults.h
+++ b/source/blender/makesdna/DNA_brush_defaults.h
@@ -96,6 +96,7 @@
/* sculpting defaults to the draw tool for new brushes */ \
.sculpt_tool = SCULPT_TOOL_DRAW, \
.pose_smooth_iterations = 4, \
+ .pose_ik_segments = 1, \
\
/* A kernel radius of 1 has almost no effect (T63233). */ \
.blur_kernel_radius = 2, \