[R72] Setting Layout on a text object

Bugs will be moved here once resolved.

Post » Fri Dec 23, 2011 9:14 pm

Hey, just want to pass this along.

I want to spawn a text object on start of layout. So while I have an event sheet tab in focus, I clicked on a text object in the right-hand "Projects" window to set the default properties (color, size, etc..). Then went to select Layer0 from the Layer dropdown. Selecting Layer0 resulted in the following error:

I'm using Win7 Ultimate. If you need my game file, just let me know.

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

ModifyLayerZOrderAction: Creating undo point with layers from different layouts

Condition: first_layout == &((*i)->GetLayout())
File: Projects\Layer.cpp
Line: 698
Function: __thiscall ModifyLayerZOrderAction::ModifyLayerZOrderAction(class Project &,const class std::vector<class Layer *,class std::allocator<class Layer *> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &)
Build: release 72 (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.
Abort   Retry   Ignore   
tap2011-12-23 21:29:20
Posts: 116
Reputation: 4,394

Post » Fri Dec 23, 2011 11:15 pm

Thanks, fixed for next build - the layer property is hidden if the selection includes objects from multiple layouts.
Scirra Founder
Posts: 25,207
Reputation: 200,355

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest