diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2019-04-28 21:48:38 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-04-28 21:48:38 +0200 |
commit | 9d14198253d2107d93ab19c14b2bb5cf2ae226f2 (patch) | |
tree | daeaea05f773c01f4b74f97c84302c379c3cb7d5 /src | |
parent | 52a8a95a8553f5b2a1224db474e6cf1d649533c8 (diff) |
Fix a bug with relative angles
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -356,7 +356,7 @@ def optimize(which): def I(theta): op.angle = theta if op.ref is not False: - op.ref += system.elements[op.ref].angle + op.angle += system.elements[op.ref].angle state = None for i, pol in enumerate(system.elements): |