Merge branch 'master' into blender2.8

This commit is contained in:
Sergey Sharybin 2017-01-26 17:23:33 +01:00
commit 5ef2f21963
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}