Skip to content

Instantly share code, notes, and snippets.

@tslater2006
Created November 3, 2022 02:18
Show Gist options
  • Save tslater2006/1a8293a4d32cf99a43d94aed27fe7d0f to your computer and use it in GitHub Desktop.
Save tslater2006/1a8293a4d32cf99a43d94aed27fe7d0f to your computer and use it in GitHub Desktop.
/* Creation of the initial image editor on startup */
34.788 PixelPaint(45:45): Image 0x00000018a567b6d0 has Undo Stack 0x00000018a567ba78
34.792 PixelPaint(45:45): Pushed action to 0x00000018a567ba78
34.800 PixelPaint(45:45): Switching tab to editor: ImageEditor(0x00000018a567b6d0)
45.390 PixelPaint(45:45): Completed action for editor 0x00000018a567b6d0, undo stack: 0x00000018a567ba78
/* Drawing and undoing brush on initial image editor */
45.394 PixelPaint(45:45): Pushed action to 0x00000018a567ba78
46.800 PixelPaint(45:45): Undo action for 0x00000018a567ba78
46.800 PixelPaint(45:45): Undo action for 0x00000018a567ba78
49.509 PixelPaint(45:45): CreateNewImageDialog(0x00000018a5675790): Quit event loop with result 0
49.509 PixelPaint(45:45): CreateNewImageDialog(0x00000018a5675790): Event loop returned with result 0
/* Creation of first new Image */
49.513 PixelPaint(45:45): Image 0x00000018a5672fe0 has Undo Stack 0x00000018a5673388
49.513 PixelPaint(45:45): Pushed action to 0x00000018a5673388
49.536 PixelPaint(45:45): Switching tab to editor: ImageEditor(0x00000018a5672fe0)
52.227 PixelPaint(45:45): CreateNewImageDialog(0x00000018a5675790): Quit event loop with result 0
52.227 PixelPaint(45:45): CreateNewImageDialog(0x00000018a5675790): Event loop returned with result 0
/* Creation of second new Image */
52.231 PixelPaint(45:45): Image 0x00000018a5671810 has Undo Stack 0x00000018a5671bb8
52.231 PixelPaint(45:45): Pushed action to 0x00000018a5671bb8
52.246 PixelPaint(45:45): Switching tab to editor: ImageEditor(0x00000018a5671810)
/* Switching back to first new image */
54.861 PixelPaint(45:45): Switching tab to editor: ImageEditor(0x00000018a5672fe0)
/* Drawing with brush on first new image, but look at the ImageEditor!!! Its the 2nd image's editor
57.067 PixelPaint(45:45): Completed action for editor 0x00000018a5671810, undo stack: 0x00000018a5671bb8
57.067 PixelPaint(45:45): Pushed action to 0x00000018a5671bb8
/* So the brush action went to the wrong image editor (and thus wrong undo stack), but *somehow*...
the change is actually on the first image's layer */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment