Use the configured texture scale as default for SnapToGrid.

This commit is contained in:
Jay Dolan 2018-03-16 15:12:30 -04:00
parent 3b8e83fb80
commit 54f4d2b1f5
1 changed files with 2 additions and 2 deletions

View File

@ -357,10 +357,10 @@ void DoSnapTToGrid( float hscale, float vscale ){
l_pIncrement = Get_SI_Inc();
if ( hscale == 0.0f ) {
hscale = 0.25f;
hscale = l_pIncrement->scale[0];
}
if ( vscale == 0.0f ) {
vscale = 0.25f;
vscale = l_pIncrement->scale[1];
}
#ifdef _DEBUG
Sys_Printf( "DoSnapToGrid: grid %g hscale %g vscale %g\n", GridSize(), hscale, vscale );