fixed nudge-selection and build-monitoring-defaults
authorspog <spog>
Sat, 13 May 2006 15:09:54 +0000 (15:09 +0000)
committerspog <spog>
Sat, 13 May 2006 15:09:54 +0000 (15:09 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@66 8a3a26a2-13c4-0310-b231-cf6edde360e5

CHANGES
radiant/selection.cpp
radiant/watchbsp.cpp

diff --git a/CHANGES b/CHANGES
index c5a3f88..0ae8162 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -13,6 +13,8 @@ SPoG
 - Changed 'inconsistent vertex count' assert to be non-fatal.
 - Changed 'failed to remove accelerator' assert to be non-fatal.
 - Fixed crash due to broken module dependencies.
+- Fixed default settings for Build Monitoring.
+- Fixed nudge-selection when using the drag tool mode.
 
 30/04/2006
 SPoG
index 75dbbae..effdfd3 100644 (file)
@@ -3285,7 +3285,7 @@ public:
   /// \todo Support view-dependent nudge.
   void NudgeManipulator(const Vector3& nudge, const Vector3& view)
   {
-    if(ManipulatorMode() == eTranslate)
+    if(ManipulatorMode() == eTranslate || ManipulatorMode() == eDrag)
     {
       translateSelected(nudge);
     }
index ee8912e..e2cc86c 100644 (file)
@@ -211,7 +211,7 @@ void BuildMonitor_Construct()
 {
   g_pWatchBSP = new CWatchBSP();
 
-  g_WatchBSP_Enabled = !string_empty(g_pGameDescription->getKeyValue("no_bsp_monitor"));
+  g_WatchBSP_Enabled = !string_equal(g_pGameDescription->getKeyValue("no_bsp_monitor"), "1");
 
   GlobalPreferenceSystem().registerPreference("WatchBSP", BoolImportStringCaller(g_WatchBSP_Enabled), BoolExportStringCaller(g_WatchBSP_Enabled));
   GlobalPreferenceSystem().registerPreference("RunQuake2Run", BoolImportStringCaller(g_WatchBSP_RunQuake), BoolExportStringCaller(g_WatchBSP_RunQuake));