Revert DynOS auto-disable-billboard

This commit is contained in:
MysterD 2022-04-23 14:28:02 -07:00
parent 40896e09d0
commit 55ed56b7f4
1 changed files with 3 additions and 2 deletions

View File

@ -25,13 +25,14 @@ static void DynOS_Pack_ActivateActor(s32 aPackIndex, Pair<const char *, GfxData
}; };
// Check if we should disable billboards // Check if we should disable billboards
u32 vertices = 0; // TODO: make this smarter
/*u32 vertices = 0;
for (auto& vtx : aGfxData->mVertices) { for (auto& vtx : aGfxData->mVertices) {
vertices += vtx->mSize; vertices += vtx->mSize;
} }
if (vertices > 6) { if (vertices > 6) {
actorGfx.mGraphNode->extraFlags |= GRAPH_EXTRA_FORCE_3D; actorGfx.mGraphNode->extraFlags |= GRAPH_EXTRA_FORCE_3D;
} }*/
DynOS_Actor_Valid(georef, actorGfx); DynOS_Actor_Valid(georef, actorGfx);
} }