{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/2786","labels_url":"https://api.github.com/repos/godotengine/godot/issues/2786/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/2786/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/2786/events","html_url":"https://github.com/godotengine/godot/pull/2786","id":116943116,"number":2786,"title":"Added selection menu to spatial and canvas editors","user":{"login":"neikeq","id":7718100,"avatar_url":"https://avatars.githubusercontent.com/u/7718100?v=3","gravatar_id":"","url":"https://api.github.com/users/neikeq","html_url":"https://github.com/neikeq","followers_url":"https://api.github.com/users/neikeq/followers","following_url":"https://api.github.com/users/neikeq/following{/other_user}","gists_url":"https://api.github.com/users/neikeq/gists{/gist_id}","starred_url":"https://api.github.com/users/neikeq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neikeq/subscriptions","organizations_url":"https://api.github.com/users/neikeq/orgs","repos_url":"https://api.github.com/users/neikeq/repos","events_url":"https://api.github.com/users/neikeq/events{/privacy}","received_events_url":"https://api.github.com/users/neikeq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godotengine/godot/labels/enhancement","name":"enhancement","color":"44bbff"},{"url":"https://api.github.com/repos/godotengine/godot/labels/topic:editor","name":"topic:editor","color":"ffdd44"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/1","html_url":"https://github.com/godotengine/godot/milestones/2.0","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/1/labels","id":1381437,"number":1,"title":"2.0","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":119,"closed_issues":42,"state":"open","created_at":"2015-10-28T13:37:45Z","updated_at":"2015-11-14T22:17:23Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-14T18:17:34Z","updated_at":"2015-11-15T18:04:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/godotengine/godot/pulls/2786","html_url":"https://github.com/godotengine/godot/pull/2786","diff_url":"https://github.com/godotengine/godot/pull/2786.diff","patch_url":"https://github.com/godotengine/godot/pull/2786.patch"},"body":"\r\nFeature requested in #837\r\n\r\n##### Still missing:\r\n\r\n- [ ] Sort selection results in canvas editor by Z. _I could not find a clean way to sort CanvasItems, since Controls have no Z property, unlike Node2D._\r\n- [ ] Maya and Modo navigation scheme support in the spatial editor. _I have no idea about which key combination should be used._\r\n\r\n##### Key combinations\r\n\r\n**3D:** _Alt_ + _Left Click_\r\n**2D:** _Alt_ + _Right Click_\r\n\r\nI tried to make it behave similarly to Blender. This means the menu pop ups right after mouse is pressed. When released, the menu disappears and the node represented by the current hover item (if any) will be selected.\r\n\r\nThis is a problem for canvas editor. I got forced to use BUTTON_RIGHT which, unlike BUTTON_LEFT, hides the menu on mouse press, not on release. It's neither possible to select a menu item on right click. To solve that, I made this PR: #2785\r\n\r\n##### Screenshots:\r\n\r\n![Spatial editor Screenshot](https://cloud.githubusercontent.com/assets/7718100/11166015/b888e292-8b22-11e5-96af-e31f48abed1c.png)\r\n![Canvas editor Screenshot](https://cloud.githubusercontent.com/assets/7718100/11166012/85573acc-8b22-11e5-845c-f214acb5c348.png)\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/156840232","html_url":"https://github.com/godotengine/godot/pull/2786#issuecomment-156840232","issue_url":"https://api.github.com/repos/godotengine/godot/issues/2786","id":156840232,"user":{"login":"vnen","id":5599796,"avatar_url":"https://avatars.githubusercontent.com/u/5599796?v=3","gravatar_id":"","url":"https://api.github.com/users/vnen","html_url":"https://github.com/vnen","followers_url":"https://api.github.com/users/vnen/followers","following_url":"https://api.github.com/users/vnen/following{/other_user}","gists_url":"https://api.github.com/users/vnen/gists{/gist_id}","starred_url":"https://api.github.com/users/vnen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnen/subscriptions","organizations_url":"https://api.github.com/users/vnen/orgs","repos_url":"https://api.github.com/users/vnen/repos","events_url":"https://api.github.com/users/vnen/events{/privacy}","received_events_url":"https://api.github.com/users/vnen/received_events","type":"User","site_admin":false},"created_at":"2015-11-15T18:04:22Z","updated_at":"2015-11-15T18:04:22Z","body":"I don't think there's something to be done about those window managers which steals the Alt+click. There isn't any option left, AFAIK. We can follow the Blender path and just don't care about those cases. And for users not discovering this feature, well, I believe it's impossible to discover all features just by playing with the engine, so one would have to look in the documentation at some point."}}