Skip to content

Commit

Permalink
FIX: missing minus y
Browse files Browse the repository at this point in the history
  • Loading branch information
rmatsuda committed Oct 25, 2024
1 parent c8ae460 commit f246d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invesalius/net/neuronavigation_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def set_vector_field(self, vector_field):
# Swap x and y in the position
vector["position"][0], vector["position"][1] = (
vector["position"][1],
vector["position"][0],
-vector["position"][0],
)
# Reverse the z orientation
vector["orientation"][2] = -vector["orientation"][2]
Expand Down

0 comments on commit f246d33

Please sign in to comment.