{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/4240","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/4240/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/4240/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/4240/events","html_url":"https://github.com/godotengine/godot/issues/4240","id":146105641,"number":4240,"title":"TSCN bug when exporting path to an image","user":{"login":"StraToN","id":1289207,"avatar_url":"https://avatars.githubusercontent.com/u/1289207?v=3","gravatar_id":"","url":"https://api.github.com/users/StraToN","html_url":"https://github.com/StraToN","followers_url":"https://api.github.com/users/StraToN/followers","following_url":"https://api.github.com/users/StraToN/following{/other_user}","gists_url":"https://api.github.com/users/StraToN/gists{/gist_id}","starred_url":"https://api.github.com/users/StraToN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StraToN/subscriptions","organizations_url":"https://api.github.com/users/StraToN/orgs","repos_url":"https://api.github.com/users/StraToN/repos","events_url":"https://api.github.com/users/StraToN/events{/privacy}","received_events_url":"https://api.github.com/users/StraToN/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222"},{"url":"https://api.github.com/repos/godotengine/godot/labels/topic:core","name":"topic:core","color":"ffdd44"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-05T20:57:36Z","updated_at":"2016-06-23T21:57:13Z","closed_at":"2016-06-23T21:57:13Z","body":"**Operating system or device:**\r\nXubuntu\r\n\r\n**Issue description** (what happened, and what was expected):\r\ntscn format saves the whole content of the image targetted by an exported path variable inputted to a script, into the tscn file, bloating it up. Should simply export the path instead.\r\n\r\n**Steps to reproduce:**\r\n1. Download this project's zip : https://github.com/StraToN/godot_pointandclickadv/releases/tag/v0.1\r\n2. Open the project in Godot editor (scene file is /Assets/rooms/desk/desk.scn)\r\n3. Directly save the scene as *.tscn\r\n\r\nThe output tscn is ~15 Mb. \r\nGodot seems to export the content of the depth.png image which path is provided as a parameter to the \"bg\" node, instead of the provided path.\r\n\r\n**Link to minimal example project** (optional but very welcome):\r\nhttps://github.com/StraToN/godot_pointandclickadv/releases/tag/v0.1\r\n\r\n**Details**\r\nThe corresponding exported image is located in the Assets/terrain.gd script."},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/228197270","html_url":"https://github.com/godotengine/godot/issues/4240#issuecomment-228197270","issue_url":"https://api.github.com/repos/godotengine/godot/issues/4240","id":228197270,"user":{"login":"reduz","id":6265307,"avatar_url":"https://avatars.githubusercontent.com/u/6265307?v=3","gravatar_id":"","url":"https://api.github.com/users/reduz","html_url":"https://github.com/reduz","followers_url":"https://api.github.com/users/reduz/followers","following_url":"https://api.github.com/users/reduz/following{/other_user}","gists_url":"https://api.github.com/users/reduz/gists{/gist_id}","starred_url":"https://api.github.com/users/reduz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reduz/subscriptions","organizations_url":"https://api.github.com/users/reduz/orgs","repos_url":"https://api.github.com/users/reduz/repos","events_url":"https://api.github.com/users/reduz/events{/privacy}","received_events_url":"https://api.github.com/users/reduz/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T21:57:13Z","updated_at":"2016-06-23T21:57:13Z","body":"This is not a bug, it's a feature. Images are a built-in atomic datatype, not a resource, so exporting Image will not link it to a path, it will include it in the scene or resource."}}
{"actor":{"display_login":"reduz"}}