{"action":"created","issue":{"url":"https://api.github.com/repos/ocornut/imgui/issues/2222","repository_url":"https://api.github.com/repos/ocornut/imgui","labels_url":"https://api.github.com/repos/ocornut/imgui/issues/2222/labels{/name}","comments_url":"https://api.github.com/repos/ocornut/imgui/issues/2222/comments","events_url":"https://api.github.com/repos/ocornut/imgui/issues/2222/events","html_url":"https://github.com/ocornut/imgui/pull/2222","id":386331558,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MTAwOTcy","number":2222,"title":"Add option to disable debug window","user":{"login":"zzzyap","id":13419807,"node_id":"MDQ6VXNlcjEzNDE5ODA3","avatar_url":"https://avatars3.githubusercontent.com/u/13419807?v=4","gravatar_id":"","url":"https://api.github.com/users/zzzyap","html_url":"https://github.com/zzzyap","followers_url":"https://api.github.com/users/zzzyap/followers","following_url":"https://api.github.com/users/zzzyap/following{/other_user}","gists_url":"https://api.github.com/users/zzzyap/gists{/gist_id}","starred_url":"https://api.github.com/users/zzzyap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzzyap/subscriptions","organizations_url":"https://api.github.com/users/zzzyap/orgs","repos_url":"https://api.github.com/users/zzzyap/repos","events_url":"https://api.github.com/users/zzzyap/events{/privacy}","received_events_url":"https://api.github.com/users/zzzyap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-30T20:05:20Z","updated_at":"2018-12-03T16:01:36Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ocornut/imgui/pulls/2222","html_url":"https://github.com/ocornut/imgui/pull/2222","diff_url":"https://github.com/ocornut/imgui/pull/2222.diff","patch_url":"https://github.com/ocornut/imgui/pull/2222.patch"},"body":"Notes:\r\n* ImGui creates an extra implicit window used only for debugging.\r\n\r\nChanges:\r\n* Added a flag (user configurable) to disable this debug window, would be nice to have."},"comment":{"url":"https://api.github.com/repos/ocornut/imgui/issues/comments/443762564","html_url":"https://github.com/ocornut/imgui/pull/2222#issuecomment-443762564","issue_url":"https://api.github.com/repos/ocornut/imgui/issues/2222","id":443762564,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzc2MjU2NA==","user":{"login":"zzzyap","id":13419807,"node_id":"MDQ6VXNlcjEzNDE5ODA3","avatar_url":"https://avatars3.githubusercontent.com/u/13419807?v=4","gravatar_id":"","url":"https://api.github.com/users/zzzyap","html_url":"https://github.com/zzzyap","followers_url":"https://api.github.com/users/zzzyap/followers","following_url":"https://api.github.com/users/zzzyap/following{/other_user}","gists_url":"https://api.github.com/users/zzzyap/gists{/gist_id}","starred_url":"https://api.github.com/users/zzzyap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzzyap/subscriptions","organizations_url":"https://api.github.com/users/zzzyap/orgs","repos_url":"https://api.github.com/users/zzzyap/repos","events_url":"https://api.github.com/users/zzzyap/events{/privacy}","received_events_url":"https://api.github.com/users/zzzyap/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T16:01:36Z","updated_at":"2018-12-03T16:01:36Z","author_association":"NONE","body":"Checked with the person who added this.\r\n\r\nThe original intent was to force our users to call Begin and End correctly.\r\nSuch that the context (any widget) is properly locked (to a Begin/End call) when using ImGui methods.\r\nHaving this debug window would allow people to make bad calls in any contexts and not crash/assert.\r\nExample: a user can just call `ImGui::Text(...)` anywhere in the code base and this debug window will render (unintentionally). \r\nWe want the application to crash or assert giving immediate feedback that the widget is not properly created. \r\n\r\nIt can be either a compile time or run time option.\r\nAs a compile time option the user can do checks for _DEBUG etc... and can enable/disable it for their specific builds. "}}
{"actor":{"display_login":"zzzyap"}}