* only scale light radius by mouse while it is displayed

This commit is contained in:
Garux 2021-03-20 02:32:42 +03:00
parent e200ffc762
commit 95f4b3e504

View File

@ -1864,7 +1864,7 @@ void selectPlanes( Selector& selector, SelectionTest& test, const PlaneCallback&
if ( g_lightType == LIGHTTYPE_DOOM3 ) { if ( g_lightType == LIGHTTYPE_DOOM3 ) {
m_dragPlanes.selectPlanes( m_contained.aabb(), selector, test, selectedPlaneCallback, rotation() ); 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 ); m_scaleRadius.selectPlanes( selector, test, selectedPlaneCallback );
} }
} }