{"action":"closed","issue":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1537","labels_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1537/labels{/name}","comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1537/comments","events_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1537/events","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/1537","id":61767733,"number":1537,"title":"boundary issues when rendering a DisplayObject to a RenderTexture","user":{"login":"CodeRect","id":1238034,"avatar_url":"https://avatars.githubusercontent.com/u/1238034?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeRect","html_url":"https://github.com/CodeRect","followers_url":"https://api.github.com/users/CodeRect/followers","following_url":"https://api.github.com/users/CodeRect/following{/other_user}","gists_url":"https://api.github.com/users/CodeRect/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeRect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeRect/subscriptions","organizations_url":"https://api.github.com/users/CodeRect/orgs","repos_url":"https://api.github.com/users/CodeRect/repos","events_url":"https://api.github.com/users/CodeRect/events{/privacy}","received_events_url":"https://api.github.com/users/CodeRect/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/labels/WebGL","name":"WebGL","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"GoodBoyDigital","id":3112434,"avatar_url":"https://avatars.githubusercontent.com/u/3112434?v=3","gravatar_id":"","url":"https://api.github.com/users/GoodBoyDigital","html_url":"https://github.com/GoodBoyDigital","followers_url":"https://api.github.com/users/GoodBoyDigital/followers","following_url":"https://api.github.com/users/GoodBoyDigital/following{/other_user}","gists_url":"https://api.github.com/users/GoodBoyDigital/gists{/gist_id}","starred_url":"https://api.github.com/users/GoodBoyDigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoodBoyDigital/subscriptions","organizations_url":"https://api.github.com/users/GoodBoyDigital/orgs","repos_url":"https://api.github.com/users/GoodBoyDigital/repos","events_url":"https://api.github.com/users/GoodBoyDigital/events{/privacy}","received_events_url":"https://api.github.com/users/GoodBoyDigital/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-03-15T07:35:52Z","updated_at":"2015-04-23T17:23:40Z","closed_at":"2015-04-23T17:23:40Z","body":"Preface - I have only tried this with `v3.0.0-rc2` but this is probably a general issue.\r\n\r\nDescription - When the size of a `DisplayObject` that is being rendered to a `RenderTexture` is being changed, the boundaries are not updated accordingly. This is because the `RenderTexture` updates the boundaries according to the children of the passed `DisplayObject`, which however has none (see [1]).\r\n\r\nSuggestion - This can be fixed by any user by embedding the `DisplayObject` into a `Container` and rendering the `Container` instead. It should however be fixed internally by introducing a check within the `renderWebGL` function.\r\n\r\n[1] https://github.com/GoodBoyDigital/pixi.js/blob/dev/src/core/textures/RenderTexture.js#L271"}}