Fix point sprite not scaled in models

pull/909/head
Levin Li 2021-01-05 10:08:23 +08:00
parent 6e9bf032d8
commit d6a5b7240e
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ Mesh::transform(const Vector3f& translation, float scale)
PrimitiveGroup* group = getGroup(i);
char* vdata = reinterpret_cast<char*>(group->vertexOverride);
if (!vdata)
return;
continue;
auto vertexDesc = group->vertexDescriptionOverride;
int positionOffset = vertexDesc.getAttribute(Position).offset;