History

removed some debug

ZappoMan committed 12 years ago

Commit bcc7cfb1 parent 9d87d581 file · +0 −5Browse files

Showing the changes to interface/src/ControllerScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

interface/src/ControllerScriptingInterface.cpp+0−5
@@ -180,17 +180,12 @@ glm::vec3 ControllerScriptingInterface::getSpatialControlNormal(int controlIndex · 179 unmodified lines
180}180}
181 181
182bool ControllerScriptingInterface::isKeyCaptured(QKeyEvent* event) const {182bool ControllerScriptingInterface::isKeyCaptured(QKeyEvent* event) const {
183qDebug() << "ControllerScriptingInterface::isKeyCaptured() event=" << event;
184 return isKeyCaptured(KeyEvent(*event));183 return isKeyCaptured(KeyEvent(*event));
185}184}
186 185
187bool ControllerScriptingInterface::isKeyCaptured(const KeyEvent& event) const {186bool ControllerScriptingInterface::isKeyCaptured(const KeyEvent& event) const {
188
189qDebug() << "ControllerScriptingInterface::isKeyCaptured() event.key=" << event.key;
190
191 // if we've captured some combination of this key it will be in the map187 // if we've captured some combination of this key it will be in the map
192 if (_capturedKeys.contains(event.key, event)) {188 if (_capturedKeys.contains(event.key, event)) {
193qDebug() << "ControllerScriptingInterface::isKeyCaptured() event.key=" << event.key << " returning TRUE";
194 return true;189 return true;
195 }190 }
196 return false;191 return false;