Skip to content

Commit aeacd61

Browse files
committed
Tidy empty and commented lines.
1 parent 3476656 commit aeacd61

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cmlibs/widgets/handlers/fixedaxistranslation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def set_model(self, model):
5454
self._glyphs.append(create_plane_manipulation_arrow(scene, self._glyph_fields[i], size=AXIS_ARROW_SIZE, material=self._default_material))
5555
self._reverse_glyphs.append(create_plane_manipulation_arrow(scene, self._glyph_fields[i], size=-AXIS_ARROW_SIZE, material=self._default_material))
5656

57-
5857
else:
5958
raise HandlerError('Given model does not have the required API for handling translation.')
6059

@@ -75,7 +74,6 @@ def enter(self):
7574
centroid = calculate_centroid(self._model.plane_nodes_coordinates())
7675
for glyph in (self._glyphs + self._reverse_glyphs):
7776
glyph.setVisibilityFlag(True)
78-
# glyph.setMaterial(self._default_material)
7977
set_glyph_position(glyph, centroid)
8078

8179
def leave(self):

0 commit comments

Comments
 (0)