EEVEE-Next: Scene sync fixes and improvements #115758

Merged
Miguel Pozo merged 5 commits from pragma37/blender:pull-eevee-sync-improvements into main 2023-12-04 15:58:01 +01:00
2 changed files with 0 additions and 13 deletions
Showing only changes of commit fa433a2859 - Show all commits

View File

@ -39,9 +39,6 @@ void SyncModule::view_update()
if (DEG_id_type_updated(inst_.depsgraph, ID_WO)) {
world_updated_ = true;
}
if (DEG_id_type_updated(inst_.depsgraph, ID_SCE)) {
scene_updated_ = true;
}
}
ObjectHandle &SyncModule::sync_object(const ObjectRef &ob_ref)
@ -67,14 +64,6 @@ WorldHandle SyncModule::sync_world()
return handle;
}
SceneHandle SyncModule::sync_scene()
{
SceneHandle handle;
handle.recalc = scene_updated_ ? ID_RECALC_SHADING : 0;
scene_updated_ = false;
return handle;
}
/** \} */
/* -------------------------------------------------------------------- */

View File

@ -118,7 +118,6 @@ class SyncModule {
Map<ObjectKey, ObjectHandle> ob_handles = {};
bool world_updated_;
bool scene_updated_;
public:
SyncModule(Instance &inst) : inst_(inst){};
@ -128,7 +127,6 @@ class SyncModule {
ObjectHandle &sync_object(const ObjectRef &ob_ref);
WorldHandle sync_world();
SceneHandle sync_scene();
void sync_mesh(Object *ob,
ObjectHandle &ob_handle,