chbergmann / OpticsWorkbench

GNU Lesser General Public License v3.0
80 stars 22 forks source link

Auto update does not work if properties in Lens are changed #12

Closed chbergmann closed 1 year ago

chbergmann commented 3 years ago

When I change the Refraction index property. The first change automatically updates the refraction path of the ray. Sometimes, further changes in the index update the ray, sometimes not. (I have yet to tie down a repeatable sequence to replicate, sorry.)

wohltat commented 3 years ago

I've experienced the same or at least similar thing. 'Mark to recompute' the ray, then the recompute works two times but not after that.

As i see it, there is no auto update at the moment.

luzpaz commented 1 year ago

@MSLDgit did the fix in #36 solve this issue ?

chbergmann commented 1 year ago

Changes in the Lens properties do not have any influence on the present rays automatically any more. You have to trigger (Re)start Simulation manually to get the rays updated. I do not see a way to change this behavior. Therefore I close this issue.