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>2017-01-26 19:23:33 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-01-26 19:23:33 +0300
commit5ef2f219631436471e5d21b65313422bf7e37a44 (patch)
tree266f7e044087272b3437376822f48e70c519f056
parentd812e0cb647deb6a6b5b0c2ead44310e751a1aed (diff)
parent67bef6bcf619db3620c71ce82758488fb39b68b6 (diff)
Merge branch 'master' into blender2.8
-rw-r--r--source/blender/depsgraph/intern/depsgraph_type_defines.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_type_defines.cc b/source/blender/depsgraph/intern/depsgraph_type_defines.cc
index 4ce91516c84..39c189629f2 100644
--- a/source/blender/depsgraph/intern/depsgraph_type_defines.cc
+++ b/source/blender/depsgraph/intern/depsgraph_type_defines.cc
@@ -145,7 +145,7 @@ DepsOperationStringifier::DepsOperationStringifier()
const char *DepsOperationStringifier::operator[](eDepsOperation_Code opcode)
{
- BLI_assert((opcode > 0) && (opcode < DEG_NUM_OPCODES));
+ BLI_assert((opcode >= 0) && (opcode < DEG_NUM_OPCODES));
if (opcode >= 0 && opcode < DEG_NUM_OPCODES) {
return names_[opcode];
}