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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-01-16 13:38:44 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-01-16 13:38:44 +0300
commitb667020310fe28e66e86513dda5461f1e0c86e82 (patch)
tree80f4f718fc99e939f51a7e786a0848e1db8e7385 /source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h
parent03223a5e7d59d5f9d0057c677258380e04d86953 (diff)
Depsgraph: Cleanup, brace placement\
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h b/source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h
index ba55a83b767..d3f0f01772f 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h
@@ -142,7 +142,8 @@ bool DepsgraphRelationBuilder::is_same_bone_dependency(const KeyFrom& key_from,
}
/* We are only interested in relations like BONE_DONE -> BONE_LOCAL... */
if (!(op_from->opcode == DEG_OPCODE_BONE_DONE &&
- op_to->opcode == DEG_OPCODE_BONE_LOCAL)) {
+ op_to->opcode == DEG_OPCODE_BONE_LOCAL))
+ {
return false;
}
/* ... BUT, we also need to check if it's same bone. */