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
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.
Correct Layerindex value should be returned.
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Construct 2 Version ID
r229 64 bit