Skip to content

Fixed some VTK error messages that showed up when ending configure#1177

Merged
aashish24 merged 2 commits intoCDAT:masterfrom
chaosphere2112:fix_vtk_error_messages
Mar 27, 2015
Merged

Fixed some VTK error messages that showed up when ending configure#1177
aashish24 merged 2 commits intoCDAT:masterfrom
chaosphere2112:fix_vtk_error_messages

Conversation

@chaosphere2112
Copy link
Copy Markdown
Contributor

Should hopefully fix @williams13's VTK error messages; managed to reproduce them locally and eliminated them. They cropped up when closing the configure menu when a bunch of plots were open.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You shouldn't need this but if you do then you want to set self.renderer = None since at this point I think it won't be of further use.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I basically only added this line as backup in case I screwed something up elsewhere; the "detach" functions are used throughout my vtk_ui package to make elements completely remove themselves from the VTK render stack and make them garbage collectable. I'll go ahead and set renderer to None here.

aashish24 added a commit that referenced this pull request Mar 27, 2015
Fixed some VTK error messages that showed up when ending configure
@aashish24 aashish24 merged commit d3e9d56 into CDAT:master Mar 27, 2015
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.

2 participants