From: spog Date: Sat, 13 May 2006 15:09:54 +0000 (+0000) Subject: fixed nudge-selection and build-monitoring-defaults X-Git-Tag: xonotic-v0.7.0~16^2~12^2~228 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=e9560a69a3f54c3e955534b458372c2ecc37650c fixed nudge-selection and build-monitoring-defaults git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@66 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/CHANGES b/CHANGES index c5a3f883..0ae8162c 100644 --- 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 diff --git a/radiant/selection.cpp b/radiant/selection.cpp index 75dbbaee..effdfd3c 100644 --- a/radiant/selection.cpp +++ b/radiant/selection.cpp @@ -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); } diff --git a/radiant/watchbsp.cpp b/radiant/watchbsp.cpp index ee8912e0..e2cc86c3 100644 --- a/radiant/watchbsp.cpp +++ b/radiant/watchbsp.cpp @@ -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));