jrincayc/ucblogo-code

If LOADPICT is run before other turtle graphics commands, nothing is drawn

dmalec opened this issue · 0 comments

The following assumes a valid picture has been saved using SAVEPICT

Running LOADPICT before running other turtle graphics commands results in an empty screen:
Screen Shot 2022-06-25 at 2 32 04 PM

If the command FD 0 (functionally a no-op) is run first, then LOADPICT draws as expected:
Screen Shot 2022-06-25 at 2 32 24 PM

I have a code change which I believe addresses the issue - I'll submit a PR with it.

Test Environment

  • OSX Catalina (10.15.7) w/ wxWidgets 3.0.5
  • Ubuntu Bionic (18.04.5) w/ wxWidgets 3.0.5

  • Windows 10 Pro (19043.1766) w/ wxWidgets 3.0.5