Depsgraph: Fix typo in assert
This commit is contained in:
parent
fd69ba2255
commit
67bef6bcf6
Notes:
blender-bot
2023-02-14 07:25:46 +01:00
Referenced by issue #50565, Transform: Planar constraints don't work properly with non-Blender key configurations Referenced by issue #50550, GPUShader: compile error - Background image not showing in viewport
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue