layerindex broken by a layer edit

Bugs will be moved here once resolved.

Post » Tue Jun 14, 2016 7:26 pm

Problem Description
If you delete a layer in the editor, then - during runtime - the layerindex system expression does not return the updated value of higher layers.

Attach a Capx
capx

Description of Capx
There are 6 layers; the event sheet writes the layerindex of layer "this_layer" into a text object. If you delete one of the lower layers and then run the layout you will observe that the layerindex for "this_layer" is not updated.

Steps to Reproduce Bug
  • Run the layout to see correct Layerindex result.
  • Delete a lower layer then run the layout and observe reported Layerindex value.

Observed Result
As above.

Expected Result
Correct Layerindex value should be returned.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
W10 x64

Construct 2 Version ID
r229 64 bit
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,207
Reputation: 43,836

Post » Mon Jun 20, 2016 3:54 pm

Thanks, good catch. Should be fixed in the next build.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests