Problem Description
If you delete a global layer in a layout where the global layer is not defined, a popup warning is given. The warning asks you to confirm that you want to delete all of the objects on the layer when the layer is just a representation of the global layer (that is defined elsewhere) and deletion of the layer will not affect the global layer.
Attach a Capx
Not required.
Description of Capx
N/A
Steps to Reproduce Bug
- Open blank project, duplicate Layout1 and add a layer to the new Layout2.
- Set Layer0 to be a global layer in Layout1, then add a sprite to the layer.
- Delete Layer0 in Layout2 and observe.
Observed Result
Popup warning.
Expected Result
No popup warning because the global layer is not being affected.
Affected Browsers
Operating System and Service Pack
W10 x64
Construct 2 Version ID
r241 64 bit