{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/16079","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/16079/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/16079/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/16079/events","html_url":"https://github.com/godotengine/godot/issues/16079","id":291824244,"number":16079,"title":"When Texture mode is set to Video RAM, Mipmaps setting is not respected","user":{"login":"bfloch","id":2116566,"avatar_url":"https://avatars2.githubusercontent.com/u/2116566?v=4","gravatar_id":"","url":"https://api.github.com/users/bfloch","html_url":"https://github.com/bfloch","followers_url":"https://api.github.com/users/bfloch/followers","following_url":"https://api.github.com/users/bfloch/following{/other_user}","gists_url":"https://api.github.com/users/bfloch/gists{/gist_id}","starred_url":"https://api.github.com/users/bfloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfloch/subscriptions","organizations_url":"https://api.github.com/users/bfloch/orgs","repos_url":"https://api.github.com/users/bfloch/repos","events_url":"https://api.github.com/users/bfloch/events{/privacy}","received_events_url":"https://api.github.com/users/bfloch/received_events","type":"User","site_admin":false},"labels":[{"id":73330064,"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222","default":true},{"id":279098219,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:editor","name":"topic:editor","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/7","html_url":"https://github.com/godotengine/godot/milestone/7","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/7/labels","id":2529217,"number":7,"title":"3.1","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","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":766,"closed_issues":392,"state":"open","created_at":"2017-05-18T13:33:56Z","updated_at":"2018-03-01T19:15:38Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-01-26T07:59:03Z","updated_at":"2018-03-01T19:30:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- Please search existing issues for potential duplicates before filing yours:\r\nhttps://github.com/godotengine/godot/issues?q=is%3Aissue\r\n-->\r\n\r\n\r\n**Godot version:**\r\n<!-- Specify commit hash if non-official. -->\r\n3.0 4700f2d79\r\n\r\n**OS/device including version:**\r\n<!-- Specify GPU model and drivers if graphics-related. -->\r\nFedora 27\r\nLinux 4.14.14-300.fc27.x86_64\r\nNvidia Geforce GTX 1050 (mobile) Driver 384.111\r\n\r\n**Issue description:**\r\n<!-- What happened, and what was expected. -->\r\nIn a textures import options following is set:\r\n- mode - video ram\r\n- detect 3d - false\r\n- mipmap - false\r\nThe resulting texture will always contain a mipmap.\r\n\r\n**Is this a limitation of the texture format? Should this be communicated via message?**\r\n\r\n![issue_mipmaps](https://user-images.githubusercontent.com/2116566/35430047-9791c91e-0244-11e8-9a93-ea5d33d954e3.gif)\r\n\r\n**Steps to reproduce:**\r\nIn the test project:\r\n- Select a png.\r\n- In the Import options toggle \"Lossles\" or \"Video Ram\"\r\n- Mipmaps should be disabled\r\n- Select any note in the tree (to update the node inspector)\r\n- Double click the png in the file navigator to pop up the texture in the inspector.\r\n- You will find that it always has a mipmap in Video Ram mode, regardless of the Mipmap setting during import\r\n\r\n**Minimal reproduction project:**\r\n<!-- Recommended as it greatly speeds up debugging. Drag and drop a zip archive to upload it. -->\r\n[issue_vieport_sampling_ok.zip](https://github.com/godotengine/godot/files/1667014/issue_vieport_sampling_ok.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/369703660","html_url":"https://github.com/godotengine/godot/issues/16079#issuecomment-369703660","issue_url":"https://api.github.com/repos/godotengine/godot/issues/16079","id":369703660,"user":{"login":"playster000","id":20967892,"avatar_url":"https://avatars1.githubusercontent.com/u/20967892?v=4","gravatar_id":"","url":"https://api.github.com/users/playster000","html_url":"https://github.com/playster000","followers_url":"https://api.github.com/users/playster000/followers","following_url":"https://api.github.com/users/playster000/following{/other_user}","gists_url":"https://api.github.com/users/playster000/gists{/gist_id}","starred_url":"https://api.github.com/users/playster000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/playster000/subscriptions","organizations_url":"https://api.github.com/users/playster000/orgs","repos_url":"https://api.github.com/users/playster000/repos","events_url":"https://api.github.com/users/playster000/events{/privacy}","received_events_url":"https://api.github.com/users/playster000/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T19:30:57Z","updated_at":"2018-03-01T19:30:57Z","author_association":"NONE","body":"according to the source:\r\n`if (p_mipmaps || p_compress_mode == COMPRESS_VIDEO_RAM) //VRAM always uses mipmaps\r\n\t\tformat |= StreamTexture::FORMAT_BIT_HAS_MIPMAPS; //mipmaps bit`\r\neditor\\import\\resource_importer_texture.cpp line 223"}}
{"actor":{"display_login":"playster000"}}