{"action":"created","issue":{"url":"https://api.github.com/repos/bjorn/tiled/issues/1113","labels_url":"https://api.github.com/repos/bjorn/tiled/issues/1113/labels{/name}","comments_url":"https://api.github.com/repos/bjorn/tiled/issues/1113/comments","events_url":"https://api.github.com/repos/bjorn/tiled/issues/1113/events","html_url":"https://github.com/bjorn/tiled/issues/1113","id":110108291,"number":1113,"title":"Copy/Cut/Paste between .tmx files","user":{"login":"awasem","id":15002425,"avatar_url":"https://avatars.githubusercontent.com/u/15002425?v=3","gravatar_id":"","url":"https://api.github.com/users/awasem","html_url":"https://github.com/awasem","followers_url":"https://api.github.com/users/awasem/followers","following_url":"https://api.github.com/users/awasem/following{/other_user}","gists_url":"https://api.github.com/users/awasem/gists{/gist_id}","starred_url":"https://api.github.com/users/awasem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awasem/subscriptions","organizations_url":"https://api.github.com/users/awasem/orgs","repos_url":"https://api.github.com/users/awasem/repos","events_url":"https://api.github.com/users/awasem/events{/privacy}","received_events_url":"https://api.github.com/users/awasem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-06T21:48:55Z","updated_at":"2015-10-07T16:53:35Z","closed_at":null,"body":"There are a few issues here and I am not sure how they are related or how to properly explain so please bear with me.\r\n\r\nWhen copy/cut and pasting from one .tmx to another Tiled incorrectly pastes the wrong image. It seems to be in issue with how the tile ids are numbered when you look at the .json file. It seems that when it numbers them individually to get the tile id # it gets confused about what tile set it is in when it is copy/cut/pasted. You can move different tile sets into the far left and get different images pasted after on single copy action. For instance, it is like it is pasting from the left tile set row 2 column 3 regardless of the the actual tile set it is copied from. \r\n\r\nWhen I copy a bunch of tiles from file A and put them in file B it does not recognize which are in B already and which are not, so it creates a duplicate tile set from file A in file B. But the tiles it actually pastes are from the original set from B which are not the correct tile images.\r\n\r\nIf I have two tile sets X and Y. Y is on the left and X is on the right. I copy something from tile set X row 2 column 3 and paste it. It pastes from tile set Y row 2 column 3. Without copying anything else, If I then switch X and Y so tile set X is on the left and the proper tile is located in row 2 column 3 it will paste the correct tile."},"comment":{"url":"https://api.github.com/repos/bjorn/tiled/issues/comments/146260611","html_url":"https://github.com/bjorn/tiled/issues/1113#issuecomment-146260611","issue_url":"https://api.github.com/repos/bjorn/tiled/issues/1113","id":146260611,"user":{"login":"kheftel","id":669328,"avatar_url":"https://avatars.githubusercontent.com/u/669328?v=3","gravatar_id":"","url":"https://api.github.com/users/kheftel","html_url":"https://github.com/kheftel","followers_url":"https://api.github.com/users/kheftel/followers","following_url":"https://api.github.com/users/kheftel/following{/other_user}","gists_url":"https://api.github.com/users/kheftel/gists{/gist_id}","starred_url":"https://api.github.com/users/kheftel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kheftel/subscriptions","organizations_url":"https://api.github.com/users/kheftel/orgs","repos_url":"https://api.github.com/users/kheftel/repos","events_url":"https://api.github.com/users/kheftel/events{/privacy}","received_events_url":"https://api.github.com/users/kheftel/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T16:53:35Z","updated_at":"2015-10-07T16:53:35Z","body":"Are you changing the order of tile sets between the copy and paste operations?"}}