{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/6515","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/6515/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/6515/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/6515/events","html_url":"https://github.com/godotengine/godot/issues/6515","id":177483814,"number":6515,"title":"GridMap - Crash when Octant size is set to 0","user":{"login":"jmf","id":1857532,"avatar_url":"https://avatars.githubusercontent.com/u/1857532?v=3","gravatar_id":"","url":"https://api.github.com/users/jmf","html_url":"https://github.com/jmf","followers_url":"https://api.github.com/users/jmf/followers","following_url":"https://api.github.com/users/jmf/following{/other_user}","gists_url":"https://api.github.com/users/jmf/gists{/gist_id}","starred_url":"https://api.github.com/users/jmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmf/subscriptions","organizations_url":"https://api.github.com/users/jmf/orgs","repos_url":"https://api.github.com/users/jmf/repos","events_url":"https://api.github.com/users/jmf/events{/privacy}","received_events_url":"https://api.github.com/users/jmf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-16T17:55:16Z","updated_at":"2016-09-16T19:36:21Z","closed_at":null,"body":"**Operating system or device - Godot version:**\r\nArchlinux, custom-built godot version a75f5f039e31e20d985937f63cb2c8b90734160c\r\n\r\n**Issue description** (what happened, and what was expected):\r\nTwo different, seemingly related bugs occur:\r\n1.\r\nWhen the parameter \"Octant Size\" of a gridmap is set to 0, the editor crashes. This only happens when there are already tiles set in the GridMap.\r\n2.\r\nWhen there are no tiles set and \"Octant Size\" is set to 0, it is set to 1 by godot, when I add a tile after that the program also crashes.\r\n\r\n**Steps to reproduce:**\r\nDownload and open the example project linked below.\r\n1. Set a tile in the gridmap, then set \"Octant Size\" to 0. It should result in a crash\r\n2. Alternatively, set \"Octant Size\" to 0 before setting a tile. Godot sets it to \"1\". Then set a tile. This should also trigger a crash.\r\n\r\n\r\n**Link to minimal example project** (optional but very welcome):\r\nA minimal example:\r\nhttps://my.mixtape.moe/vvntlo.zip\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/247688625","html_url":"https://github.com/godotengine/godot/issues/6515#issuecomment-247688625","issue_url":"https://api.github.com/repos/godotengine/godot/issues/6515","id":247688625,"user":{"login":"jmf","id":1857532,"avatar_url":"https://avatars.githubusercontent.com/u/1857532?v=3","gravatar_id":"","url":"https://api.github.com/users/jmf","html_url":"https://github.com/jmf","followers_url":"https://api.github.com/users/jmf/followers","following_url":"https://api.github.com/users/jmf/following{/other_user}","gists_url":"https://api.github.com/users/jmf/gists{/gist_id}","starred_url":"https://api.github.com/users/jmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmf/subscriptions","organizations_url":"https://api.github.com/users/jmf/orgs","repos_url":"https://api.github.com/users/jmf/repos","events_url":"https://api.github.com/users/jmf/events{/privacy}","received_events_url":"https://api.github.com/users/jmf/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T19:36:21Z","updated_at":"2016-09-16T19:36:21Z","body":"@vitvakatu Have you tried it with my project? The crash only occurs when at least one tile is set in the gridmap. If no tile is set, the lock is applied."}}
{"actor":{"display_login":"jmf"}}