Cleanup: quiet warning

This commit is contained in:
Campbell Barton
2023-12-05 16:31:52 +11:00
parent ce81bdc284
commit 6f08d76ca8

View File

@@ -59,7 +59,7 @@ ObjectHandle &SyncModule::sync_object(const ObjectRef &ob_ref)
WorldHandle SyncModule::sync_world()
{
WorldHandle handle;
handle.recalc = world_updated_ ? ID_RECALC_SHADING : 0;
handle.recalc = world_updated_ ? int(ID_RECALC_SHADING) : 0;
world_updated_ = false;
return handle;
}