Commit 51934e36 authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by bliss administrator
Browse files

Emotion: Fix issue in Axis relative movements giving wrong Motion.delta

parent e78752f5
......@@ -656,11 +656,8 @@ class Axis(object):
self.name, user_initial_dial_pos, hw_pos))
if relative:
user_initial_pos = self._set_position()
user_target_pos += user_initial_pos
else:
user_initial_pos = self.dial2user(user_initial_dial_pos)
user_target_pos += self._set_position()
user_initial_pos = self.dial2user(user_initial_dial_pos)
dial_initial_pos = self.user2dial(user_initial_pos)
dial_target_pos = self.user2dial(user_target_pos)
self._set_position(user_target_pos)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment