{"action":"created","issue":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/2017","repository_url":"https://api.github.com/repos/urho3d/Urho3D","labels_url":"https://api.github.com/repos/urho3d/Urho3D/issues/2017/labels{/name}","comments_url":"https://api.github.com/repos/urho3d/Urho3D/issues/2017/comments","events_url":"https://api.github.com/repos/urho3d/Urho3D/issues/2017/events","html_url":"https://github.com/urho3d/Urho3D/issues/2017","id":242214545,"number":2017,"title":"is geometry vertex count not equals to vertex buffer vertex count?","user":{"login":"Lumak","id":14249868,"avatar_url":"https://avatars3.githubusercontent.com/u/14249868?v=3","gravatar_id":"","url":"https://api.github.com/users/Lumak","html_url":"https://github.com/Lumak","followers_url":"https://api.github.com/users/Lumak/followers","following_url":"https://api.github.com/users/Lumak/following{/other_user}","gists_url":"https://api.github.com/users/Lumak/gists{/gist_id}","starred_url":"https://api.github.com/users/Lumak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lumak/subscriptions","organizations_url":"https://api.github.com/users/Lumak/orgs","repos_url":"https://api.github.com/users/Lumak/repos","events_url":"https://api.github.com/users/Lumak/events{/privacy}","received_events_url":"https://api.github.com/users/Lumak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-11T23:35:04Z","updated_at":"2017-07-12T01:06:16Z","closed_at":"2017-07-12T01:06:16Z","body":"I have a model with two geometries, and when changing vertex color in one geometry it changes both geometries.  Dump of the geometry's vertex count and its vertex buffer vertex count are not equal:\r\n```\r\n\r\nINFO: model: num geoms=2\r\nINFO: geom 1: num vert buffs=1, index cnt=2208, vert cnt=499\r\nINFO: geom 2: num vert buffs=1, index cnt=81, vert cnt=21\r\nINFO: geom1-vbuff 1: vert cnt=520\r\n```\r\ncode for the dump:\r\n\r\n```\r\n        Model *model = carStatModel_->GetModel();\r\n        SDL_Log(\"model: num geoms=%d\", model->GetNumGeometries());\r\n        Geometry *geometry = model->GetGeometry(0, 0);\r\n        Geometry *geometry2 = model->GetGeometry(1, 0);\r\n        SDL_Log(\"geom 1: num vert buffs=%d, index cnt=%d, vert cnt=%d\", \r\n                geometry->GetNumVertexBuffers(), geometry->GetIndexCount(), geometry->GetVertexCount());\r\n        SDL_Log(\"geom 2: num vert buffs=%d, index cnt=%d, vert cnt=%d\", \r\n                geometry2->GetNumVertexBuffers(), geometry2->GetIndexCount(), geometry2->GetVertexCount());\r\n        SharedPtr<VertexBuffer> vbuffer(geometry->GetVertexBuffer(0));\r\n        SDL_Log(\"geom1-vbuff 1: vert cnt=%d\", vbuffer->GetVertexCount());\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/comments/314614888","html_url":"https://github.com/urho3d/Urho3D/issues/2017#issuecomment-314614888","issue_url":"https://api.github.com/repos/urho3d/Urho3D/issues/2017","id":314614888,"user":{"login":"Lumak","id":14249868,"avatar_url":"https://avatars3.githubusercontent.com/u/14249868?v=3","gravatar_id":"","url":"https://api.github.com/users/Lumak","html_url":"https://github.com/Lumak","followers_url":"https://api.github.com/users/Lumak/followers","following_url":"https://api.github.com/users/Lumak/following{/other_user}","gists_url":"https://api.github.com/users/Lumak/gists{/gist_id}","starred_url":"https://api.github.com/users/Lumak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lumak/subscriptions","organizations_url":"https://api.github.com/users/Lumak/orgs","repos_url":"https://api.github.com/users/Lumak/repos","events_url":"https://api.github.com/users/Lumak/events{/privacy}","received_events_url":"https://api.github.com/users/Lumak/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T01:06:16Z","updated_at":"2017-07-12T01:06:16Z","body":"disregard,  I got my answer."}}
{"actor":{"display_login":"Lumak"}}