Fix: EEVEE-Next: Incorrect Assert

When using EEVEE with asserts enabled would fail. The reason
is an incorrect assert check.
This commit is contained in:
Jeroen Bakker 2024-03-28 11:09:04 +01:00
parent b2e00d1285
commit 6b2306ad71
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ class Instance {
bool is_transforming() const
{
BLI_assert_msg(is_image_render(), "Need to be checked first otherwise this is unsafe");
BLI_assert_msg(!is_image_render(), "Caller need to check, otherwise this is unsafe");
return (G.moving & (G_TRANSFORM_OBJ | G_TRANSFORM_EDIT)) != 0;
}