Fix #141725: EEVEE View Layers Functionality Broken

The ENUM_OPERATORS macro was outdated.
Update it an move it next to the enum declaration.
This commit is contained in:
Miguel Pozo
2025-07-10 16:58:34 +02:00
parent f7c24c290e
commit 58a81f5c3a
2 changed files with 1 additions and 2 deletions

View File

@@ -59,8 +59,6 @@ inline std::ostream &operator<<(std::ostream &stream, const ObjectMatrices &matr
/** \name ObjectInfos
* \{ */
ENUM_OPERATORS(eObjectInfoFlag, OBJECT_NEGATIVE_SCALE)
inline void ObjectInfos::sync()
{
object_attrs_len = 0;

View File

@@ -154,6 +154,7 @@ enum eObjectInfoFlag : uint32_t {
/* Avoid skipped info to change culling. */
OBJECT_NO_INFO = ~OBJECT_HOLDOUT
};
ENUM_OPERATORS(eObjectInfoFlag, OBJECT_ACTIVE_EDIT_MODE);
struct ObjectInfos {
/** Uploaded as center + size. Converted to mul+bias to local coord. */