View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015907 | VTK | (No Category) | public | 2015-12-27 03:42 | 2016-01-08 10:38 | ||||
Reporter | Andreas Buykx | ||||||||
Assigned To | Cory Quammen | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.3.0 | ||||||||
Target Version | Fixed in Version | 7.1.0 | |||||||
Summary | 0015907: vtkCellPicker incorrectly determines PointId | ||||||||
Description | This code snippet below is from vtkCellPicker line 577. It should set iMaxWeight to i for the point i with the largest weight, but instead it always sets iMaxWeight to the last i with a positive weight. Solution: in the if-branch the line maxWeight = weights[i]; should be added... double maxWeight = 0; vtkIdType iMaxWeight = -1; for (vtkIdType i = 0; i < numPoints; i++) { if (weights[i] > maxWeight) { iMaxWeight = i; } } | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035621) Andreas Buykx (reporter) 2015-12-30 06:22 |
fixed it in https://gitlab.kitware.com/vtk/vtk/merge_requests/1043 [^] |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-12-27 03:42 | Andreas Buykx | New Issue | |
2015-12-30 06:22 | Andreas Buykx | Note Added: 0035621 | |
2016-01-08 10:38 | Cory Quammen | Status | backlog => closed |
2016-01-08 10:38 | Cory Quammen | Assigned To | => Cory Quammen |
2016-01-08 10:38 | Cory Quammen | Resolution | open => fixed |
2016-01-08 10:38 | Cory Quammen | Fixed in Version | => 7.1.0 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |