From 95f4b3e5044649331b929aa607482d71aca7e2e5 Mon Sep 17 00:00:00 2001 From: Garux Date: Sat, 20 Mar 2021 02:32:42 +0300 Subject: [PATCH] * only scale light radius by mouse while it is displayed --- plugins/entity/light.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/entity/light.cpp b/plugins/entity/light.cpp index 99094f05..f55db3a0 100644 --- a/plugins/entity/light.cpp +++ b/plugins/entity/light.cpp @@ -1864,7 +1864,7 @@ void selectPlanes( Selector& selector, SelectionTest& test, const PlaneCallback& if ( g_lightType == LIGHTTYPE_DOOM3 ) { m_dragPlanes.selectPlanes( m_contained.aabb(), selector, test, selectedPlaneCallback, rotation() ); } - else{ + else if( g_lightRadii ){ // only scale radius while it is displayed m_scaleRadius.selectPlanes( selector, test, selectedPlaneCallback ); } }