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:
authorCampbell Barton <ideasman42@gmail.com>2015-07-26 05:19:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-26 05:22:23 +0300
commitc27a1cfd637827a3d802707262697fbb64aeb03f (patch)
tree7293562143bbd7c3a8229ad553a6073d029b6591 /source/blender/editors
parent88ebffec9677fb25a00fc73aef2c163d74736a55 (diff)
Fix bug in particle API accessing the emitter
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c
index c4556a5e145..1f1be51b9a6 100644
--- a/source/blender/editors/sculpt_paint/sculpt_undo.c
+++ b/source/blender/editors/sculpt_paint/sculpt_undo.c
@@ -279,7 +279,7 @@ static void sculpt_undo_bmesh_restore_generic(bContext *C,
unode->applied = true;
}
- if (ELEM(unode->type, SCULPT_UNDO_MASK, SCULPT_UNDO_MASK)) {
+ if (unode->type == SCULPT_UNDO_MASK) {
int i, totnode;
PBVHNode **nodes;