Don't recalculate scene points when any logical points are available
ClosedPublic

Authored by Murmele on May 8 2019, 8:44 PM.

Details

Summary
  • Don't recalculate scene Points, if no points are available
  • swap indices only, if both are valid, otherwise don't swap

Diff Detail

Repository
R262 LabPlot
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Murmele created this revision.May 8 2019, 8:44 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptMay 8 2019, 8:44 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
Murmele requested review of this revision.May 8 2019, 8:44 PM
Murmele updated this revision to Diff 57789.May 9 2019, 5:45 AM

If one index is zero and the other is greater than zero, now a swap is introduced too.

asemke accepted this revision.May 9 2019, 7:30 PM
This revision is now accepted and ready to land.May 9 2019, 7:30 PM
This revision was automatically updated to reflect the committed changes.