]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
change texture lock default to true; remove weird user pref munging
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 4 Nov 2010 13:55:43 +0000 (14:55 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 4 Nov 2010 13:55:43 +0000 (14:55 +0100)
radiant/brush.cpp
radiant/brush.h

index d2f217b310f97463afe9aef95f8b7d8b2c31f652..2593ac55726fa7aa26ff7759d20eeb7c4b9398e7 100644 (file)
@@ -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;
index 80e0bd0265ae99e0aec49e9905c1ccc6b8212343..75d4761b03fd609687feac7d190dac132e0f9861 100644 (file)
@@ -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;