Bug Issue: Engine extension block is overriding a built in block


Pages: 1

irock

  • Master Stencyler
  • *
September 01, 2021, 02:03:22 pm
This block in the external data extension is overriding the built in "image from file" block. Both of them now call the DataUtils.getImageData function, and design mode is unable to discern between the two (they both have the same description, and "find in palette" points to the one under the Extensions section).

Here's the extension block in question:
Code: [Select]
<block tag="image-file"
spec="image from file: %0 [i:draw]"
code="DataUtils.getImageData(~)"
help="Gets a image from a file in the game's 'extras' folder. For more info, right-click and press 'View Help'."
type="normal"
color="cyan"
returns="image">
<fields>
<text order="0"/>
</fields>
</block>
« Last Edit: September 01, 2021, 02:05:00 pm by irock »


Justin

  • Master Stencyler
  • *
September 02, 2021, 11:07:40 pm
There's no good solution for this with the current design mode file format. For now, if you want to use both the built-in block and the extension block, change the name of the extension block.


Pages: 1

Details

  • Reported
    September 01, 2021, 02:03:22 pm
  • Updated
    September 02, 2021, 11:07:40 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Design Mode

Tags