View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010802 | VTK | (No Category) | public | 2010-06-08 12:36 | 2013-04-05 20:13 | ||||
Reporter | Eric Monson | ||||||||
Assigned To | Marcus Hanwell (old account) | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0010802: Crash in vtkChartXY::ClearPlots() | ||||||||
Description | In my tests, a call to vtkChartXY::ClearPlots() crashes. This patch seems to fix it for me: diff --git a/Charts/vtkChartXY.cxx b/Charts/vtkChartXY.cxx index a106752..e439da0 100644 --- a/Charts/vtkChartXY.cxx +++ b/Charts/vtkChartXY.cxx @@ -805,6 +805,7 @@ void vtkChartXY::ClearPlots() { for (unsigned int i = 0; i < this->ChartPrivate->plots.size(); ++i) { + this->RemovePlotFromConers(this->ChartPrivate->plots[i]); this->ChartPrivate->plots[i]->Delete(); } this->ChartPrivate->plots.clear(); | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0020946) Marcus Hanwell (old account) (developer) 2010-06-08 16:48 |
Fixed in commit 172e357, I think it is more efficient to clear the four corners too, and so modified the supplied patch a little. Thanks for the feedback, please let me know if this does not fix your issue. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-06-08 12:36 | Eric Monson | New Issue | |
2010-06-08 16:48 | Marcus Hanwell (old account) | Note Added: 0020946 | |
2010-06-08 16:48 | Marcus Hanwell (old account) | Status | backlog => @80@ |
2010-06-08 16:48 | Marcus Hanwell (old account) | Resolution | open => fixed |
2010-06-08 16:48 | Marcus Hanwell (old account) | Assigned To | => Marcus Hanwell (old account) |
2011-01-13 17:00 | Source_changeset_attached | => VTK master a2bd8391 | |
2011-01-13 17:00 | Source_changeset_attached | => VTK master 020ef709 | |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2013-04-05 20:13 | Berk Geveci | Status | customer review => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |