1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:53:50 +00:00

OP profiling regression fix; Billboards such as those from Westly's tree mod should work again.

This commit is contained in:
Bret Curtis 2020-06-18 16:16:16 +02:00
parent 8d9b2eca7d
commit c3dc0e62e8

View file

@ -571,6 +571,7 @@ namespace MWRender
copyop.mSqrDistance = (viewPoint - pos).length2(); copyop.mSqrDistance = (viewPoint - pos).length2();
copyop.mViewVector = (viewPoint - worldCenter); copyop.mViewVector = (viewPoint - worldCenter);
copyop.copy(cnode, trans); copyop.copy(cnode, trans);
copyop.mNodePath.pop_back();
if (activeGrid) if (activeGrid)
{ {