Closedown
This commit is contained in:
@@ -1401,7 +1401,7 @@ public class ScreenPanel extends Panel {
|
||||
}
|
||||
|
||||
void saveSnapshot() throws Exception {
|
||||
String snapshotFile = getContext().getSetup().expandPath("{images}/snapshot.png");
|
||||
String snapshotFile = getContext().getSetup().expandPath("{images}/{date}_{time}_snapshot.png");
|
||||
renderer.saveSnapshot(snapshotFile, "png", true);
|
||||
getContext().setExecutionPars("snapshot");
|
||||
String path = "/data";
|
||||
@@ -1411,8 +1411,8 @@ public class ScreenPanel extends Panel {
|
||||
message.append("Camera: ").append(cameraName).append(" (").
|
||||
append((camera instanceof Camtool) ? "camtool" : "direct").append(")").append("\n");
|
||||
message.append("Data file: ").append(getContext().getExecutionPars().getPath()).append("\n");
|
||||
if ((fitOv != null) && (fitOv.length > 3)) {
|
||||
Overlays.Text text = (Overlays.Text) fitOv[3];
|
||||
if ((fitOv != null) && (fitOv.length > 5)) {
|
||||
Overlays.Text text = (Overlays.Text) fitOv[5];
|
||||
message.append(text.getText()).append("\n");
|
||||
}
|
||||
elog("ScreenPanel Snapshot", message.toString(), new String[]{snapshotFile});
|
||||
|
||||
Reference in New Issue
Block a user