()
| 106 | } |
| 107 | |
| 108 | public static void reset() { |
| 109 | //if (IJ.debugMode) IJ.log("Undo.reset: "+ whatToUndo+" "+impCopy); |
| 110 | if (whatToUndo==COMPOUND_FILTER || whatToUndo==OVERLAY_ADDITION) |
| 111 | return; |
| 112 | whatToUndo = NOTHING; |
| 113 | imageID = 0; |
| 114 | ipCopy = null; |
| 115 | impCopy = null; |
| 116 | calCopy = null; |
| 117 | roiCopy = null; |
| 118 | lutCopy = null; |
| 119 | overlayCopy = null; |
| 120 | } |
| 121 | |
| 122 | public static void undo() { |
| 123 | ImagePlus imp = WindowManager.getCurrentImage(); |
no outgoing calls
no test coverage detected