change texture lock default to true; remove weird user pref munging
This commit is contained in:
@@ -37,7 +37,7 @@ void Brush_textureChanged()
|
||||
QuantiseFunc Face::m_quantise;
|
||||
EBrushType Face::m_type;
|
||||
EBrushType FacePlane::m_type;
|
||||
bool g_brush_texturelock_enabled = false;
|
||||
bool g_brush_texturelock_enabled = true;
|
||||
|
||||
EBrushType Brush::m_type;
|
||||
double Brush::m_maxWorldCoord = 0;
|
||||
|
||||
@@ -2111,12 +2111,12 @@ public:
|
||||
if(m_type == eBrushTypeQuake3BP || m_type == eBrushTypeDoom3 || m_type == eBrushTypeQuake4)
|
||||
{
|
||||
g_bp_globals.m_texdefTypeId = TEXDEFTYPEID_BRUSHPRIMITIVES;
|
||||
g_brush_texturelock_enabled = true;
|
||||
// g_brush_texturelock_enabled = true; // bad idea, this overrides user setting
|
||||
}
|
||||
else if(m_type == eBrushTypeHalfLife)
|
||||
{
|
||||
g_bp_globals.m_texdefTypeId = TEXDEFTYPEID_HALFLIFE;
|
||||
g_brush_texturelock_enabled = true;
|
||||
// g_brush_texturelock_enabled = true; // bad idea, this overrides user setting
|
||||
}
|
||||
|
||||
Face::m_quantise = (m_type == eBrushTypeQuake) ? quantiseInteger : quantiseFloating;
|
||||
|
||||
Reference in New Issue
Block a user