Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #1428, an issue with preview the (empty) project placeholder. #1429

Merged
merged 1 commit into from
Oct 16, 2016

Conversation

thomaswp
Copy link
Contributor

Quick fix for #1428. The current code treats the "(empty)" placeholder the same as any other project and attempts to open it, leading to a parse error. This checks first and does nothing for invalid projects.

…lder.

The code treats this placeholder the same as any other proejct and attempts to open it, leading to a parse error.
myself.preview.cachedTexture = null;
myself.preview.drawNew();

if (src) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duh! :-)

@jmoenig
Copy link
Owner

jmoenig commented Sep 26, 2016

Thanks for this fix, Thomas! I'll pull it and integrate it into the next release, but since I'm both travelling and probably switching day-jobs at the moment this might take me some days or even weeks. I've marked this PR with my "blessing" so I'll bulk-pull all before the next release gets out.

@jmoenig jmoenig merged commit 9b6449c into jmoenig:master Oct 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants