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

Smarter behavior when dropping files on Tiled #1031

Closed
bjorn opened this issue Jul 18, 2015 · 0 comments

Comments

@bjorn
Copy link
Owner

commented Jul 18, 2015

Currently, there's two things that can happen when dropping files on Tiled:

  • When you drop them on the Tilesets view, it will open the New Tileset dialog so you can add them as a tileset (the assumption is that you're dropping images).
  • When you drop files anywhere else, Tiled will try to open the files as maps (even if you're dropping images).

It would be smarter to detect whether the dropped files are maps or images (or external tilesets...), and treat them accordingly by either adding them as tilesets or opening them as maps.

Where it gets a little strange is when the user is dropping files from different categories at the same time... I'm not sure exactly what to do then.

@bjorn bjorn added this to the Tiled 1.0 milestone Mar 24, 2016

@bjorn bjorn added this to TODO in Roadmap Feb 13, 2017

@bjorn bjorn self-assigned this May 8, 2017

@bjorn bjorn moved this from Tiled 1.0 to In Progress in Roadmap May 8, 2017

bjorn added a commit that referenced this issue May 8, 2017

Allow adding external tilesets by dragging to the Tilesets dock
For now you can no longer add image-based tilesets this way, since users
are encouraged to set up external tileset files instead. Maybe that can
be restored later in some way, depending on the feedback.

Issue #1031

@bjorn bjorn closed this in 1b64982 May 8, 2017

@bjorn bjorn moved this from In Progress to Recently Completed in Roadmap May 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.