Ticket #524 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

DatasetView:setPosition() called more often than expected

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: May-09 to May-20
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

When you scroll within a slider of a 3 or more dimensional image DatasetView::setPosition() gets called more than once. First the current value is sent, then the new value, then the new value again. Because of this projector.map() is getting called multiple times.

Do one of two things:
1) determine why its getting called multiple times and avoid it
OR
2) cache last dimensionalIndex and value passed in and only call the drawing code when the position or dimensionalIndex changes

Change History

comment:1 Changed 8 years ago by curtis

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 267a33831ffeddb55ce12b6d172325010c50e508.

Note: See TracTickets for help on using tickets.