{"action":"created","issue":{"url":"https://api.github.com/repos/StarlingGraphics/Starling-Extension-Graphics/issues/140","labels_url":"https://api.github.com/repos/StarlingGraphics/Starling-Extension-Graphics/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/StarlingGraphics/Starling-Extension-Graphics/issues/140/comments","events_url":"https://api.github.com/repos/StarlingGraphics/Starling-Extension-Graphics/issues/140/events","html_url":"https://github.com/StarlingGraphics/Starling-Extension-Graphics/issues/140","id":103522245,"number":140,"title":"Texture no repeat in TextureVertexColorFragmentShader","user":{"login":"pSi-X","id":1802047,"avatar_url":"https://avatars.githubusercontent.com/u/1802047?v=3","gravatar_id":"","url":"https://api.github.com/users/pSi-X","html_url":"https://github.com/pSi-X","followers_url":"https://api.github.com/users/pSi-X/followers","following_url":"https://api.github.com/users/pSi-X/following{/other_user}","gists_url":"https://api.github.com/users/pSi-X/gists{/gist_id}","starred_url":"https://api.github.com/users/pSi-X/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pSi-X/subscriptions","organizations_url":"https://api.github.com/users/pSi-X/orgs","repos_url":"https://api.github.com/users/pSi-X/repos","events_url":"https://api.github.com/users/pSi-X/events{/privacy}","received_events_url":"https://api.github.com/users/pSi-X/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-27T14:23:22Z","updated_at":"2015-08-27T19:22:48Z","closed_at":null,"body":"Hi, sory my bad English :)\r\nI encountered a problem that can be seen in the [screenshot](http://joxi.ru/Vm6k9BdfaM3j2Z):\r\n![Image of problem](http://dl1.joxi.net/drive/0008/2829/535309/150827/89ce39564b.jpg)\r\nWhen I started to dig deeper, I found a bug in the class TextureVertexColorFragmentShader:\r\n```\r\npublic function TextureVertexColorFragmentShader(texture:Texture = null, mipmapping:Boolean = false, repeat:Boolean = false, smoothing:String = \"bilinear\") {\r\n   //Bad:\r\n   var shouldRepeat:Boolean = texture == null ? repeat : ( texture.repeat ? repeat : false);\r\n   //Good:\r\n   var shouldRepeat:Boolean = texture == null ? repeat : texture.repeat;\r\n   ...\r\n}\r\n```\r\nIt is a repeat of the texture will never be taken.\r\nPlease fix this bug.\r\n\r\nBest regards, pSi-X"},"comment":{"url":"https://api.github.com/repos/StarlingGraphics/Starling-Extension-Graphics/issues/comments/135529082","html_url":"https://github.com/StarlingGraphics/Starling-Extension-Graphics/issues/140#issuecomment-135529082","issue_url":"https://api.github.com/repos/StarlingGraphics/Starling-Extension-Graphics/issues/140","id":135529082,"user":{"login":"pSi-X","id":1802047,"avatar_url":"https://avatars.githubusercontent.com/u/1802047?v=3","gravatar_id":"","url":"https://api.github.com/users/pSi-X","html_url":"https://github.com/pSi-X","followers_url":"https://api.github.com/users/pSi-X/followers","following_url":"https://api.github.com/users/pSi-X/following{/other_user}","gists_url":"https://api.github.com/users/pSi-X/gists{/gist_id}","starred_url":"https://api.github.com/users/pSi-X/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pSi-X/subscriptions","organizations_url":"https://api.github.com/users/pSi-X/orgs","repos_url":"https://api.github.com/users/pSi-X/repos","events_url":"https://api.github.com/users/pSi-X/events{/privacy}","received_events_url":"https://api.github.com/users/pSi-X/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T19:22:48Z","updated_at":"2015-08-27T19:22:48Z","body":"Maybe that variant is correct:\r\n```\r\nvar shouldRepeat:Boolean = texture == null ? repeat : (texture.repeat || repeat);\r\n```\r\nBut yes, this solution repairs situation with TextureMaterial and TextureVertexColorFragmentShader :)"}}