Changeset 8366 for code/trunk/src/libraries/core/input
- Timestamp:
- Apr 30, 2011, 9:31:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/input/KeyBinder.cc
r8351 r8366 253 253 COUT(3) << "KeyBinder: Loading key bindings..." << std::endl; 254 254 255 this->configFile_ = new ConfigFile(this->filename_, !PathConfig:: isDevelopmentRun());255 this->configFile_ = new ConfigFile(this->filename_, !PathConfig::buildDirectoryRun()); 256 256 this->configFile_->load(); 257 257 258 if (PathConfig:: isDevelopmentRun())258 if (PathConfig::buildDirectoryRun()) 259 259 { 260 260 // Dev users should have combined key bindings files … … 287 287 addButtonToCommand(binding, it->second); 288 288 std::string str = binding; 289 if (PathConfig:: isDevelopmentRun() && binding.empty())289 if (PathConfig::buildDirectoryRun() && binding.empty()) 290 290 str = "NoBinding"; 291 291 it->second->setBinding(this->configFile_, this->fallbackConfigFile_, binding, bTemporary);
Note: See TracChangeset
for help on using the changeset viewer.