boxer-project / boxer-sunrise

Sunrise on the Boxer Reconstruction Project
BSD 3-Clause "New" or "Revised" License
39 stars 2 forks source link

`setshape` to a graphics box fails with Common Lisp exception: Undefined function `BOXER::MAKE-BOXER-GRAPHICS-COMMAND-CENTERED-BITMAP` #84

Closed rigdern closed 4 days ago

rigdern commented 1 week ago

Repro steps

I reproed this with Boxer 3.4.18 2024-05-26

  1. Download setshape to a graphics box.box.zip
  2. Open "setshape to a graphics box.box" in Boxer
  3. Run this line at the bottom of the file: tell planet-sprite setshape 🌎 (🌎 represents a graphics box)

Unexpected result: It fails with a Common Lisp exception: Undefined function BOXER::MAKE-BOXER-GRAPHICS-COMMAND-CENTERED-BITMAP called with arguments (#<BOXER::OGL-PIXMAP 801007F92B> 0 0 175 178)

Here's a screenshot of the box: image

Workaround?

If anyone is aware of a workaround for this, let me know.

sgithens commented 1 week ago

Thanks for posting this, I thought it was fixed (it's popped up once before), but will take another look with your test case.

sgithens commented 1 week ago

This is fixed now and will be in next weeks build. a749c5bbf7768ac902d8ebfbcde65e6736e6d7e2

rigdern commented 4 days ago

I verified this no longer repros in 3.4.19 2024-06-24