fixed nudge-selection and build-monitoring-defaults

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@66 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
spog 2006-05-13 15:09:54 +00:00
parent 509042502f
commit e9560a69a3
3 changed files with 4 additions and 2 deletions

View File

@ -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

View 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);
}

View 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));