Skip to content

Bug: nullptr returned by loadLinkGeometry not handled properly for unsupported shapes #113

@marip8

Description

@marip8

The function loadLinkGeometry returns a nullptr for shape types it does not know how to render. This causes a segfault when parsing currently unsupported shapes, like planes. Instead of returning a nullptr, we should instead return an empty Ogre::Entity object (if possible) or check if the return of this function is a nullptr before adding it to the scene here and here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions