diff options
author | aap <aap@papnet.eu> | 2021-02-18 12:21:52 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-02-18 12:21:52 +0100 |
commit | 996772faf2b7ed17269af194c6d9dcbdb37732fe (patch) | |
tree | cfb4d76317a169f665bf1f500e36d4aa2c0e54ec /src/rw | |
parent | bb8b823c30286d146cb252491e896607eb990320 (diff) |
add debug render groups
Diffstat (limited to 'src/rw')
-rw-r--r-- | src/rw/VisibilityPlugins.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rw/VisibilityPlugins.cpp b/src/rw/VisibilityPlugins.cpp index 3a303194..01db546c 100644 --- a/src/rw/VisibilityPlugins.cpp +++ b/src/rw/VisibilityPlugins.cpp @@ -233,7 +233,9 @@ CVisibilityPlugins::RenderFadingEntities(CLinkList<AlphaObjectInfo> &list) DeActivateDirectional(); SetAmbientColours(); e->bImBeingRendered = true; + PUSH_RENDERGROUP(mi->GetModelName()); RenderFadingAtomic((RpAtomic*)e->m_rwObject, node->item.sort); + POP_RENDERGROUP(); e->bImBeingRendered = false; }else CRenderer::RenderOneNonRoad(e); |