Skip to content
Snippets Groups Projects

CalibFilter cache invalidation on different image size

Merged d.kilic requested to merge 4-absturz-beim-einladen-von-neuem-projekt into master
All threads resolved!

During reading of the XML, some changes after reading in the intrinsic parameters trigger on_*_valueChanged slots and in these updateImage is called. Since to this point it's still the old image, CalibFilter creates maps with the size of the old image. And since the intrinsic parameters were already set, afterwards the cached, too small, mappings were used.

To catch that, I invalidate the cache on a map with a different size than the image.

I don't know if the rest is working when loading in a new project. But I see no incredibly obvious mistakes. Relates #4 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Schrödter, Tobias resolved all threads

    resolved all threads

  • Schrödter, Tobias approved this merge request

    approved this merge request

  • d.kilic added 5 commits

    added 5 commits

    Compare with previous version

  • merged

  • d.kilic mentioned in commit 0db12b42

    mentioned in commit 0db12b42

  • Please register or sign in to reply
    Loading