parogers / pgu

Automatically exported from code.google.com/p/pgu
GNU Lesser General Public License v2.1
89 stars 37 forks source link

about cache problems in pgu/Scripts/leveledit #47

Open ccanepa opened 4 years ago

ccanepa commented 4 years ago

Recap

And, changing the body of cmd_refreshtiles (the one called when ACTIVEEVENT) to 'pass' and running leveledit, no matter what in focus change (minimize, maximize, alt tab, hoover mouse on non focused window, ... no bad efects are seen.

In any case, the call to cmd_refreshtiles is infrequent. so even without caching it will not impact usability.

In my opinion is not worth to put work to getting caching to behave correctly

[0] https://stackoverflow.com/questions/61488114/in-pygame-for-event-type-activeevent-where-is-the-documentation-on-what-the