Commit 89b570f52f3808e8a3004bfd291f31c52a50c2c7
1 parent
8e640588
Exists in
master
and in
6 other branches
FIX: Avoiding a segmentation fault when open a project after use raycasting cut tool
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/data/volume.py
... | ... | @@ -689,11 +689,11 @@ class CutPlane: |
689 | 689 | |
690 | 690 | def DestroyObjs(self): |
691 | 691 | ps.Publisher().sendMessage('Remove surface actor from viewer', self.plane_actor) |
692 | - | |
692 | + self.Disable() | |
693 | 693 | del self.plane_widget |
694 | 694 | del self.plane_source |
695 | 695 | del self.plane_actor |
696 | 696 | del self.normal |
697 | 697 | del self.plane |
698 | 698 | ps.Publisher().sendMessage('Remove all volume actors') |
699 | - | |
700 | 699 | \ No newline at end of file |
700 | + | ... | ... |