{"action":"created","issue":{"url":"https://api.github.com/repos/SketchUp/api-issue-tracker/issues/4","repository_url":"https://api.github.com/repos/SketchUp/api-issue-tracker","labels_url":"https://api.github.com/repos/SketchUp/api-issue-tracker/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/SketchUp/api-issue-tracker/issues/4/comments","events_url":"https://api.github.com/repos/SketchUp/api-issue-tracker/issues/4/events","html_url":"https://github.com/SketchUp/api-issue-tracker/issues/4","id":267362255,"number":4,"title":"Feature: `model.start_model` ","user":{"login":"Nazz78","id":4271863,"avatar_url":"https://avatars1.githubusercontent.com/u/4271863?v=4","gravatar_id":"","url":"https://api.github.com/users/Nazz78","html_url":"https://github.com/Nazz78","followers_url":"https://api.github.com/users/Nazz78/followers","following_url":"https://api.github.com/users/Nazz78/following{/other_user}","gists_url":"https://api.github.com/users/Nazz78/gists{/gist_id}","starred_url":"https://api.github.com/users/Nazz78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nazz78/subscriptions","organizations_url":"https://api.github.com/users/Nazz78/orgs","repos_url":"https://api.github.com/users/Nazz78/repos","events_url":"https://api.github.com/users/Nazz78/events{/privacy}","received_events_url":"https://api.github.com/users/Nazz78/received_events","type":"User","site_admin":false},"labels":[{"id":725252229,"url":"https://api.github.com/repos/SketchUp/api-issue-tracker/labels/Ruby%20API","name":"Ruby API","color":"f9d0c4","default":false},{"id":725252400,"url":"https://api.github.com/repos/SketchUp/api-issue-tracker/labels/SketchUp","name":"SketchUp","color":"e99695","default":false},{"id":725236529,"url":"https://api.github.com/repos/SketchUp/api-issue-tracker/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":725565004,"url":"https://api.github.com/repos/SketchUp/api-issue-tracker/labels/logged","name":"logged","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-10-21T08:27:12Z","updated_at":"2018-02-09T04:35:15Z","closed_at":null,"author_association":"NONE","body":"Add a method that is similar to `model.start_operation` in a sense that it is wrapped in a single operation but different in a sense that it is not visible and it can not be undone.\r\n\r\n**Use case**\r\nSome extensions (eg. Modelur) need to setup the model before it can be used. This consists of adding materials, setting up dictionaries, etc. At the moment best possible solution / workaround for such cases is to wrap it into a single undo operation. The problem with this is twofold: 1) one operation is already recorded into undo stack and user can save practically empty model and 2) if undo is called right after initialization, the will not work properly anymore."},"comment":{"url":"https://api.github.com/repos/SketchUp/api-issue-tracker/issues/comments/364332624","html_url":"https://github.com/SketchUp/api-issue-tracker/issues/4#issuecomment-364332624","issue_url":"https://api.github.com/repos/SketchUp/api-issue-tracker/issues/4","id":364332624,"user":{"login":"DanRathbun","id":334837,"avatar_url":"https://avatars2.githubusercontent.com/u/334837?v=4","gravatar_id":"","url":"https://api.github.com/users/DanRathbun","html_url":"https://github.com/DanRathbun","followers_url":"https://api.github.com/users/DanRathbun/followers","following_url":"https://api.github.com/users/DanRathbun/following{/other_user}","gists_url":"https://api.github.com/users/DanRathbun/gists{/gist_id}","starred_url":"https://api.github.com/users/DanRathbun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanRathbun/subscriptions","organizations_url":"https://api.github.com/users/DanRathbun/orgs","repos_url":"https://api.github.com/users/DanRathbun/repos","events_url":"https://api.github.com/users/DanRathbun/events{/privacy}","received_events_url":"https://api.github.com/users/DanRathbun/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T04:35:15Z","updated_at":"2018-02-09T04:35:15Z","author_association":"NONE","body":"Hmmm,... my memory must be failing me. Could be I'm thinking of some other application.\r\n\r\nGenerally, I save manually because I want all edits \"set in stone\", and do not want to go back. It's seems weird to me that an undo stack would go back beyond a manual save. I can see that it would after an autosave (but I never have such features enabled, as they've always proved problematic for me in all applications.)\r\n\r\n-----\r\n\r\nWhat if a plugin saved the model, then cycled through a new model, then reloaded the previous one ?\r\n\r\nI'm **not** against having \"silent\" attribute writes (we've talked about this in the past.)\r\nI just do not feel right about this proposed workflow, and am wary of how the proposed method could be abused.\r\n"}}
{"actor":{"display_login":"DanRathbun"}}