Bug Issue: "as boolean" always returning true


Pages: 1

Luyren

  • Master Stencyler
  • *
May 07, 2017, 03:07:00 pm
b9443, happens on Windows export.

When putting any text (list or text attribute) inside a "as boolean" block, it always returns true, even if the text value is "false".  I expect a text that returns "false" to also return "false" when using the "as boolean" block, as it was some builds before.

On Flash this doesn't happen at all. A text "false" returns "false" when using with the "as boolean" block.

Attached is a sample game: it draws two values from a list (true and false) and a value from a text attribute, both as is and with the "as boolean" block.
« Last Edit: May 07, 2017, 03:08:06 pm by Luyren »


New attachment added by Luyren - May 07, 2017, 03:07:26 pm


rob1221

  • Master Stencyler
  • *
May 07, 2017, 05:37:48 pm
Fixed in b9444.
  • Status changed from New to Resolved
  • Issue Assigned from (none) to rob1221


Luyren

  • Master Stencyler
  • *
May 07, 2017, 07:28:00 pm
Confirmed, it is fixed.


Pages: 1

Details

  • Reported
    May 07, 2017, 03:07:00 pm
  • Updated
    May 07, 2017, 07:28:00 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    3.4.0 beta5
  • Fixed in
    (none)
  • Assigned to
    rob1221
  • Category
    Design Mode Blocks

Tags


Attachments

* testcast.stencyl (286.15 kB - downloaded 76 times.)