Cleanup: replace BLI_assert(!"text") with BLI_assert_msg(0, "text")
This shows the text as part of the assertion message.
This commit is contained in:
@@ -59,7 +59,7 @@ static ePhysicsRelationType modifier_to_relation_type(unsigned int modifier_type
|
||||
return DEG_PHYSICS_DYNAMIC_BRUSH;
|
||||
}
|
||||
|
||||
BLI_assert(!"Unknown collision modifier type");
|
||||
BLI_assert_msg(0, "Unknown collision modifier type");
|
||||
return DEG_PHYSICS_RELATIONS_NUM;
|
||||
}
|
||||
/* Get ID from an ID type object, in a safe manner. This means that object can be nullptr,
|
||||
|
||||
Reference in New Issue
Block a user