Skip to content
New issue

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

Fix possible appleseed python crashes when MasterRenderer instances are destroyed. #748

Merged
merged 1 commit into from May 17, 2015

Conversation

est77
Copy link
Member

@est77 est77 commented May 17, 2015

Fix for issue #747.
Introduced a wrapper class for MasterRenderer in the bindings that keeps a python reference to
the Project instance and makes sure everything is destroyed in the correct order.

est77 added a commit that referenced this pull request May 17, 2015
Fix possible appleseed python crashes when MasterRenderer instances are destroyed.
@est77 est77 merged commit 87c61df into appleseedhq:master May 17, 2015
@est77 est77 deleted the est_python_fix_masterrenderer_crash branch May 17, 2015 19:12
{
return param_array_to_bpy_dict(m->get_parameters());
return param_array_to_bpy_dict(m->m_renderer->get_parameters());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could even overload MasterRendererWrapper::operator-> to make it more transparent and minimize the number of changes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants