diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-26 19:23:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-26 19:23:33 +0300 |
commit | 5ef2f219631436471e5d21b65313422bf7e37a44 (patch) | |
tree | 266f7e044087272b3437376822f48e70c519f056 | |
parent | d812e0cb647deb6a6b5b0c2ead44310e751a1aed (diff) | |
parent | 67bef6bcf619db3620c71ce82758488fb39b68b6 (diff) |
Merge branch 'master' into blender2.8
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_type_defines.cc | 2 |
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]; } |