Skip to content

Segfault on addSelectionListener() and addVisibilityListener() #186

@dyhl

Description

@dyhl

Example code from addSelectionListener() and addVisibilityListener() segfaults.

Looks like it's because of code in src/omega/omegaPythonApi.cpp:

SceneNode* node = (SceneNode*)PyCapsule_GetPointer(pyNode, "node"); This evaluates to NULL regardless of pyNode type.

This then causes node->addListener(listener); to segfault

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions