Skip to content

[BUG] Deleting render layer doesn't reassign mesh component layer IDs, causing all mesh components to have incorrect render layer #189

Description

@TheRektafire

Which part of the project is affected?
Keep the points in where the bug happened:

  • Bug in the Editor (e.g. UI issues, button not working)

Describe the bug
If you are editing a scene and you delete a render layer objects with mesh components don't get their render layers reassigned so all objects in layers with higher layer IDs than the deleted one essentially move up one layer which results in rendering errors and possibly even objects having nonexistent layer IDs.

To Reproduce
-Open a scene
-Add an object with a mesh component and assign it a render layer
-Enter the Layers tab
-Delete the same layer the object is in or one above it

System

  • OS: Windows 11
  • Version: 0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions