Layer -> Check failure

Bugs will be moved here once resolved.

Post » Mon Aug 01, 2011 8:59 pm

Sorry Ashley more work for you

Again new project.

1) Create new layer (Layer 1)
2) Delete layer (Layer 0)
3) Change property 'Force own texture' to 'Yes'
4) BAM!


---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:

Modifying deleted layer

Condition: !IsDeleted()
File: Projects\Layer.cpp
Line: 516
Function: void __thiscall Layer::SetForceOwnTexture(bool)
Build: release 50 (32-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 0)

You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
---------------------------
Abbrechen   Wiederholen   Ignorieren   
---------------------------
B
23
S
4
G
7
Posts: 98
Reputation: 5,220

Post » Mon Aug 01, 2011 9:01 pm

Other properties are also affected.


---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:

Modifying deleted layer

Condition: !IsDeleted()
File: Projects\Layer.cpp
Line: 451
Function: void __thiscall Layer::SetTransparent(bool)
Build: release 50 (32-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 0)

You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
---------------------------
Abbrechen   Wiederholen   Ignorieren   
---------------------------
B
23
S
4
G
7
Posts: 98
Reputation: 5,220

Post » Mon Aug 01, 2011 9:07 pm

Fixed!
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Mon Aug 01, 2011 9:12 pm

Nice! Did you also fix this here?

Function: void __thiscall Layer::SetInitiallyVisible(bool)
B
23
S
4
G
7
Posts: 98
Reputation: 5,220

Post » Mon Aug 01, 2011 9:19 pm

Yes, the problem is the properties for the deleted layer are left showing after you delete it. If you change any of those properties, it will throw a check failure. The next build clears the properties after you delete the layer, so you can't change any of the properties at all.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests