Skip to content
Snippets Groups Projects
Commit 01c3215f authored by Christian's avatar Christian
Browse files

Made git ignore builds

parent 2a28a13e
No related branches found
No related tags found
No related merge requests found
# Ignore all __pycache__ directories in the repository # Ignore all __pycache__ directories in the repository
**/__pycache__/ **/__pycache__/
# Ignore package builds
dist/
pt2d.egg-info/
\ No newline at end of file
...@@ -95,8 +95,9 @@ class ImageGraphicsView(PanZoomGraphicsView): ...@@ -95,8 +95,9 @@ class ImageGraphicsView(PanZoomGraphicsView):
# By default, add S/E # By default, add S/E
s_x, s_y = 0.15 * self._img_w, 0.5 * self._img_h s_x, s_y = 0.15 * self._img_w, 0.5 * self._img_h
e_x, e_y = 0.85 * self._img_w, 0.5 * self._img_h e_x, e_y = 0.85 * self._img_w, 0.5 * self._img_h
self._insert_anchor_point(-1, s_x, s_y, label="S", removable=False, z_val=100, radius=6) anchor_radius = round(max(self._img_w, self._img_h) * 0.012) # Generally good scale
self._insert_anchor_point(-1, e_x, e_y, label="E", removable=False, z_val=100, radius=6) self._insert_anchor_point(-1, s_x, s_y, label="S", removable=False, z_val=100, radius=anchor_radius)
self._insert_anchor_point(-1, e_x, e_y, label="E", removable=False, z_val=100, radius=anchor_radius)
# -------------------------------------------------------------------- # --------------------------------------------------------------------
# ANCHOR POINTS # ANCHOR POINTS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment