chbergmann / OpticsWorkbench

GNU Lesser General Public License v3.0
69 stars 23 forks source link

Spherical rays tool not working #8

Closed wohltat closed 2 years ago

wohltat commented 2 years ago

When i click the icon for the spherical (all directions) rays then an error message appears an no light source is created

Running the Python command 'Spherical Beam' failed:
Traceback (most recent call last):
  File "/home/boogieman/.FreeCAD/Mod/OpticsWorkbench/Ray.py", line 400, in Activated
    FreeCADGui.doCommand("OpticsWorkbench.makeRay(beamNrColumns=32, beamNrRows=32, spherical=True")

('unexpected EOF while parsing', ('<string>', 1, 72, 'OpticsWorkbench.makeRay(beamNrColumns=32, beamNrRows=32, spherical=True\n'))

But when i modify an existing ray to spherical it works.

chbergmann commented 2 years ago

this bug has already been fixed. Please update your repository. You have to restart FreeCAD after updating

wohltat commented 2 years ago

Great, works now