Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
How to get a morph to redraw?
Last updated at 8:42 am UTC on 25 August 2017
Question:

Normally when I have a morphic drawing failure (usually due to a bug in my drawing code) and the whole morph turns into the yellow X on the red box, I just delete the morph and make a new one. However, I'd like to get it running/drawing again instead.



Answer:

Bring up halo menu (on the red box), then in the debug menu, select 'start drawing again'.

The code for this is "aMorph resumeAfterDrawError" or just "aMorph removeProperty: #errorOnDraw", which is set in WorldState >> #displayWorldSafely:.