{"action":"closed","issue":{"url":"https://api.github.com/repos/Ogmo-Editor-3/OgmoEditor3-CE/issues/110","repository_url":"https://api.github.com/repos/Ogmo-Editor-3/OgmoEditor3-CE","labels_url":"https://api.github.com/repos/Ogmo-Editor-3/OgmoEditor3-CE/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/Ogmo-Editor-3/OgmoEditor3-CE/issues/110/comments","events_url":"https://api.github.com/repos/Ogmo-Editor-3/OgmoEditor3-CE/issues/110/events","html_url":"https://github.com/Ogmo-Editor-3/OgmoEditor3-CE/issues/110","id":543009837,"node_id":"MDU6SXNzdWU1NDMwMDk4Mzc=","number":110,"title":"Decals with scales less than 1 are rounded to 0 when the level is reopened.","user":{"login":"raeleus","id":12948924,"node_id":"MDQ6VXNlcjEyOTQ4OTI0","avatar_url":"https://avatars1.githubusercontent.com/u/12948924?v=4","gravatar_id":"","url":"https://api.github.com/users/raeleus","html_url":"https://github.com/raeleus","followers_url":"https://api.github.com/users/raeleus/followers","following_url":"https://api.github.com/users/raeleus/following{/other_user}","gists_url":"https://api.github.com/users/raeleus/gists{/gist_id}","starred_url":"https://api.github.com/users/raeleus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raeleus/subscriptions","organizations_url":"https://api.github.com/users/raeleus/orgs","repos_url":"https://api.github.com/users/raeleus/repos","events_url":"https://api.github.com/users/raeleus/events{/privacy}","received_events_url":"https://api.github.com/users/raeleus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-12-27T22:35:06Z","updated_at":"2020-01-02T23:39:39Z","closed_at":"2020-01-02T23:39:39Z","author_association":"NONE","body":"When you reopen a level with a decal layer, any decals that were saved with a scale less than 1 are rounded down to 0 and thus no longer visible.\r\n\r\nReproduction steps:\r\n• Create a new project with at least one decal layer.\r\n• Set the image path and enable scaling for that layer.\r\n• Open the level editor.\r\n• Place a decal onto the level.\r\n• Change the scale x and scale y to .5\r\n• Save the level.\r\n• Inspect the level file. Notice that the scales are saved correctly.\r\n• Click edit project.\r\n• Click save.\r\n• Notice that the decal is no longer visible in the editor. You may see a tiny green outline at the exact coordinates of where it's supposed to be.\r\n• Save the level.\r\n• Inspect the level file. Notice that the scale x and y values are set to 0.\r\n\r\nI used the edit project button as an example here, but this occurs every time the level is reloaded: opening the project from the main menu, changing the contents of the file externally, etc."}}
{"actor":{"display_login":"AustinEast"}}