-
Notifications
You must be signed in to change notification settings - Fork 61
Description
Select several wave fronts and enable show all selected wave fronts. Then press the defocus button on the wave front list. All the wave fronts will be displayed with just the data from the first.
The bug can be corrected in profile plot.
if (m_defocus_mode){
defocus = (m_defocusValue)* (-1. + 2. * rad * rad);
points << QPointF(radx,(units * (wf->workData((int)dy,(int)dx) + defocus ) *
wf->lambda/outputLambda) +offset * units);
the old code had wf->workData replaced by m_defocus_wavefront.
The change seems to work. I don't remember why I created the m_defocus_wavefront variable and the code to set it.
Perhaps it is necessary then this fix will not be right. At present it seems to do exactly what I want.
Once more I have forgotten how to update my code to the current master. I have made several other changes over the last few months but I no longer know how to compare that to the master as well.
I'm not anxious to relearn how to do either since I'm busy with other projects like the one that found this bug. Working on my 16 F3 mirror.