Skip to content

Commit 19a7c5a

Browse files
authored
Merge pull request #1306 from HEXRD/interactive-template-reset
Update interactive_template.py
2 parents a63d0c6 + 3b9cede commit 19a7c5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hexrd/ui/interactive_template.py

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def clear(self):
107107
if self.shape in self.raw_axes.patches:
108108
self.raw_axes.patches.remove(self.shape)
109109
self.redraw()
110+
self.total_rotation = 0.
110111

111112
def save_boundary(self, color):
112113
if self.shape in self.raw_axes.patches:

0 commit comments

Comments
 (0)