Skip to content

Commit

Permalink
Fix bug that caused infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Feb 10, 2022
1 parent babc29d commit a61a71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue/plugins/tools/pv_slicer/qt/pv_slicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def _extract_callback(self, mode):
for pvdata in self.viewer.session.data_collection:
if isinstance(pvdata, PVSlicedData):
if pvdata.original_data is data:
pvdata.original_data = self.viewer.state.reference_data
pvdata.original_data = data
pvdata.x_att = self.viewer.state.x_att
pvdata.y_att = self.viewer.state.y_att
pvdata.set_xy(vx, vy)
Expand Down

0 comments on commit a61a71c

Please # to comment.