Problem Description
Layer name change does not change name in event conditions. Causes user to have to waste time looking through events to fix all that were broken because of name change.
Attach a Capx
https://www.dropbox.com/s/648i3qco6rg5i03/LayerNameBug.capx?dl=0
Description of Capx
Shows sprite with 1 event.
"If sprite is on layer "LayerName", rotate 1 degree clockwise."
Steps to Reproduce Bug
- Step 1- preview with f5, see sprite rotate
- Step 2- change layer name in layers window
- Step 3- preview with f5, see sprite not rotating
Observed Result
The layer name change breaks the event because the layer name change only happened in the Layers window and not in the event attached to the name.
Expected Result
Expected result is for layer name changes that occur in the "Layers Window" to also change layer name in appropriate events so it does not break the event.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 10 fully updated
Construct 2 Version ID
221