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

Current platform not valid when loading a project #31

Closed
victorlevasseur opened this issue Sep 27, 2014 · 5 comments
Closed

Current platform not valid when loading a project #31

victorlevasseur opened this issue Sep 27, 2014 · 5 comments

Comments

@victorlevasseur
Copy link
Contributor

Because of the change of platforms name, the current platform (when the gd::Project is unserialized) is not valid (need a compatibility code).

@4ian
Copy link
Owner

4ian commented Sep 27, 2014

I thought I had handled this issue 😕

    if ( VersionWrapper::IsOlderOrEqual(GDMajorVersion, GDMajorVersion, GDMinorVersion, 0, 3, 4, 73, 0) )
    {
        if (name == "Game Develop C++ platform") name = "GDevelop C++ platform";
        if (name == "Game Develop JS platform") name = "GDevelop JS platform";
    }

@victorlevasseur
Copy link
Contributor Author

You handled the issue for the list of all project's platforms, but not for
the current platform (that will be used first while previewing or editing a scene).
It causes some native project template to be a web project.

(I get a warning in the cmd when loading a project about that problem)

@victorlevasseur
Copy link
Contributor Author

Have you managed to find the issue ?

@4ian
Copy link
Owner

4ian commented Sep 28, 2014

I just don't have access to a computer until this evening ;) Should be easy to fix.

@4ian
Copy link
Owner

4ian commented Sep 30, 2014

Fixed in 2316382

@4ian 4ian closed this as completed Sep 30, 2014
AlexandreSi pushed a commit that referenced this issue May 12, 2023
Render 3D instance with possible 2D artifact

Approved-by: Florian Rival
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants