Skip to content

Animat_id assert missing in camera follower extention #29

@cartacamilla

Description

@cartacamilla

self.links = task.data.animats[self.animat_id].sensors.links

This line breaks if the number of animats is smaller than the animat_id requested for the camera following.
An assert before this line would avoid the break and clarify the error message.

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