From 9b9988232fb7292dec382a12df3170070af01746 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Mon, 11 Mar 2024 20:59:06 -0700 Subject: [PATCH] VGUI3DView: only setproperty VF_DRAWWORLD when MENU is not defined. --- src/vgui/ui_3dview.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vgui/ui_3dview.qc b/src/vgui/ui_3dview.qc index db3b6dac..6560cdf6 100644 --- a/src/vgui/ui_3dview.qc +++ b/src/vgui/ui_3dview.qc @@ -114,7 +114,9 @@ VGUI3DView::Draw(void) setproperty(VF_AFOV, 90); setproperty(VF_ORIGIN, m_vec3DPos); setproperty(VF_ANGLES, m_vec3DAngles); +#ifndef MENU setproperty(VF_DRAWWORLD, false); +#endif tmpVGUI3DView1(); renderscene(); }