[r168] Crash when editing sprite if there's no layout active

Bugs will be moved here once resolved.

Post » Tue Apr 29, 2014 7:04 pm

Problem Description
Double clicking a sprite from the projects bar when the project is opened with no layouts gives the message "Please open a layout before editing an object texture" . Upon closing the dialog the animation frames window still shows and C2 crashes when closing it.

Attach a Capx
bug_nolayouts.capx

Description of Capx
To produce a capx that gives this error follow next steps:
  • Open C2 and create a new project.
  • Create a sprite with one instance.
  • Right click the event sheet tab and select "close all but this".
  • Save and quit.
Steps to Reproduce Bug
  • Open the capx you just created or the one attached.
  • Double click the sprite from the project bar to edit it.
  • Close the warning dialog.
  • Close the Animation frame window.

Observed Result
C2 crashes after closing any of the windows from the image editor.

Expected Result
Never show the sprite edit related windows if there's no layout active.

Affected Browsers
C2 Editor error.

Operating System and Service Pack
Windows 7 Ultimate 64bit SP1

Construct 2 Version ID
r168 (also happens with last beta r167.2).
You do not have the required permissions to view the files attached to this post.
B
34
S
8
G
5
Posts: 32
Reputation: 5,404

Post » Tue Apr 29, 2014 8:49 pm

Same result here. :(
B
11
S
2
G
1
Posts: 25
Reputation: 1,685

Post » Fri May 02, 2014 4:33 pm

Thanks, should be fixed in the next build.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests