Global Layer properties not overriding a newly named layer

Bugs will be moved here once resolved.

Post » Sat Oct 11, 2014 7:34 pm

Problem Description
I had a layer set as Global in the properties window. In a different layout, I renamed a layer to that of the global layer and I noticed that the Editor Properties window for the newly named layer didn't show "Global: (yes, overridden)" as expected. Instead the window showed "No" and, on testing, it appeared that the layer properties had not been overridden. This error was rectified when the game was saved and then restarted.

Attach a Capx
layer over-ridden error.capx


Description of Capx
The capx contains 2 layouts. Layout 1 contains a black opaque Global Layer named "Copy_My_Name"; the other layers on that layout and on Layout 2 are not global.

Steps to Reproduce Bug
  • Copy the name of the global layer into any of the layers on Layout 2
  • Note the display in the layer Editor Properties window indicates that the layer is not overridden
  • Run Layout 2 and observe that the layer settings have not been overridden to black/opaque
  • If you save the modified capx, it will work correctly after it is re-opened

Observed Result
As described above.

Expected Result
The editor should set the layer as being overridden if the name is changed to that of a global layer, without the need to restart the project.

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

Operating System and Service Pack
W8.1 x64

Construct 2 Version ID
r184
You do not have the required permissions to view the files attached to this post.
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,193

Post » Mon Oct 20, 2014 6:02 pm

Thanks, good catch. Fixed for next build.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,464


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest