We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example code from addSelectionListener() and addVisibilityListener() segfaults.
Looks like it's because of code in src/omega/omegaPythonApi.cpp:
src/omega/omegaPythonApi.cpp
SceneNode* node = (SceneNode*)PyCapsule_GetPointer(pyNode, "node"); This evaluates to NULL regardless of pyNode type.
SceneNode* node = (SceneNode*)PyCapsule_GetPointer(pyNode, "node");
This then causes node->addListener(listener); to segfault
node->addListener(listener);
The text was updated successfully, but these errors were encountered:
Thank you for the report
Sorry, something went wrong.
No branches or pull requests
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 segfaultThe text was updated successfully, but these errors were encountered: