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
Fixed some VTK error messages that showed up when ending configure #1177
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,7 @@ def detach(self): | |
w.detach() | ||
if self.window.HasRenderer(self.renderer): | ||
self.window.RemoveRenderer(self.renderer) | ||
self.renderer.RemoveAllViewProps() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
self.interactor.RemoveObserver(self.timer_listener) | ||
self.window.RemoveObserver(self.window_mod) | ||
self.window.RemoveObserver(self.render_listener) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1