rectangular picked locs saving - combine all channels - fixed
@@ -6850,9 +6850,15 @@ class View(QtWidgets.QLabel):
if locs is not None:
d = self.window.tools_settings_dialog.pick_diameter.value()
pick_info = {
- "Generated by:": "Picasso Render",
- "Pick Diameter:": d,
+ "Generated by:": "Picasso Render : Pick",
+ "Pick Shape:": self._pick_shape,
}
+ if self._pick_shape == "Circle":
+ d = self.window.tools_settings_dialog.pick_diameter.value()
+ pick_info["Pick Diameter"] = d
+ elif self._pick_shape == "Rectangle":
+ w = self.window.tools_settings_dialog.pick_width.value()
+ pick_info["Pick Width"] = w
io.save_locs(path, locs, self.infos[0] + [pick_info])
def save_pick_properties(self, path, channel):
