From ec7957adecbb91d035643be8b1d6145ff5e64c90 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 4 Nov 2010 14:55:43 +0100 Subject: [PATCH] change texture lock default to true; remove weird user pref munging --- radiant/brush.cpp | 2 +- radiant/brush.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/radiant/brush.cpp b/radiant/brush.cpp index d2f217b3..2593ac55 100644 --- a/radiant/brush.cpp +++ b/radiant/brush.cpp @@ -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; diff --git a/radiant/brush.h b/radiant/brush.h index 80e0bd02..75d4761b 100644 --- a/radiant/brush.h +++ b/radiant/brush.h @@ -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; -- 2.39.2