Fix point sprite not scaled in models
parent
6e9bf032d8
commit
d6a5b7240e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue