Skip to content

Update CModelRenderer to expose its m_modelChangeEvent #656

Description

@adriengivry

Problem this feature should fix

Currently the CModelRenderer manually call various components methods, such as:

  • CMaterialRenderer::UpdateMaterialList()
  • CSkinnedMeshRenderer::NotifyModelChange()

This design defeats the points of having this event in the first place.

Expected solution

We should make this event public, and let other components subscribe to it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    RefactoringSomething that needs a refactoring

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions