Add InteractionHandler to global property gui

Add property to interactionhandler to enable/disable rotational and zoom friction
This commit is contained in:
Alexander Bock
2016-06-29 22:42:12 +02:00
parent 2f9b873f1c
commit 5a5ffd76bb
6 changed files with 61 additions and 13 deletions

View File

@@ -440,7 +440,10 @@ bool OpenSpaceEngine::initialize() {
_gui->initialize();
_gui->_globalProperty.setSource(
[&]() {
std::vector<properties::PropertyOwner*> res = { _settingsEngine.get() };
std::vector<properties::PropertyOwner*> res = {
_settingsEngine.get(),
_interactionHandler.get()
};
return res;
}
);