View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010806 | VTK | (No Category) | public | 2010-06-09 08:39 | 2013-04-05 19:59 | ||||
Reporter | Eric Monson | ||||||||
Assigned To | Marcus D. Hanwell | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0010806: ChartXY selection node field and content type not set | ||||||||
Description | When a new selection is made in vtkChartXY, there are sometimes problems using the annotation link in other charts because the selection node content and field types are not being set. Here is the patch that's been working for me (following the pattern in vtkChartParallelCoordinates): diff --git a/Charts/vtkChartXY.cxx b/Charts/vtkChartXY.cxx index e439da0..bd46c2c 100644 --- a/Charts/vtkChartXY.cxx +++ b/Charts/vtkChartXY.cxx @@ -1169,6 +1169,8 @@ bool vtkChartXY::MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse) vtkSelection* selection = vtkSelection::New(); vtkSelectionNode* node = vtkSelectionNode::New(); selection->AddNode(node); + node->SetContentType(vtkSelectionNode::INDICES); + node->SetFieldType(vtkSelectionNode::POINT); node->SetSelectionList(plot->GetSelection()); this->AnnotationLink->SetCurrentSelection(selection); node->Delete(); | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0021648) Marcus D. Hanwell (developer) 2010-08-04 14:53 |
Addressed in commit d00874c, sorry I missed this report. The fix is pretty simple, and looks correct to me. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-06-09 08:39 | Eric Monson | New Issue | |
2010-08-04 14:52 | Marcus D. Hanwell | Status | backlog => tabled |
2010-08-04 14:52 | Marcus D. Hanwell | Assigned To | => Marcus D. Hanwell |
2010-08-04 14:53 | Marcus D. Hanwell | Note Added: 0021648 | |
2010-08-04 14:53 | Marcus D. Hanwell | Status | tabled => @80@ |
2010-08-04 14:53 | Marcus D. Hanwell | Resolution | open => fixed |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2013-04-05 19:59 | Berk Geveci | Status | customer review => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |