I've been experimenting with Layout switching and WebStorage and got a bug that the UI asked that I report.
--------------------------------------------------------------------
ENVIRONMENT:
--------------------------------------------------------------------
Construct2 r60
MacBook Pro 64bit running Windows Vista Parallels Virtual Desktop VM
--------------------------------------------------------------------
ZIPPED PROJECT:
--------------------------------------------------------------------
dl.dropbox.com/u/4432971/game2.zip
--------------------------------------------------------------------
STEPS TO REPRODUCE:
--------------------------------------------------------------------
1) Open Layout 1, 2 & Event Sheet 1
2) With Layout 1 active, Select the Event Sheet 1
3) Close Layout 2 via the tab
4) At this point I got the below exception. Although I tried to continue, the app crashed.
--------------------------------------------------------------------
THE EXCEPTION DETAILS:
--------------------------------------------------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
Object has no animations
Condition: !anims.empty()
File: Projects\ObjectType.cpp
Line: 911
Function: class ObjectTexture &__cdecl ObjectType::GetFirstAnimationFrame(void)
Build: release 60 (64-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.
---------------------------
Abort Retry Ignore
--------------------------- <img src="smileys/smiley11.gif" border="0" align="middle" /> <img src="smileys/smiley11.gif" border="0" align="middle" /> <img src="smileys/smiley11.gif" border="0" align="middle" />