We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bceba4 commit e0138cfCopy full SHA for e0138cf
editor/app.c
@@ -749,7 +749,8 @@ pl_app_update(plAppData* ptAppData)
749
if(ptAppData->bShowBVH)
750
{
751
gptRenderer->debug_draw_bvh(ptAppData->ptView);
752
- gptRenderer->debug_draw_bvh(ptAppData->ptSecondaryView);
+ if(ptAppData->ptSecondaryView)
753
+ gptRenderer->debug_draw_bvh(ptAppData->ptSecondaryView);
754
}
755
756
if(ptAppData->bShowGrid)
0 commit comments