mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 04:00:37 -06:00
Only set the field of view setting if on master (closes #883)
This commit is contained in:
@@ -308,7 +308,9 @@ RenderEngine::RenderEngine()
|
||||
addProperty(_applyWarping);
|
||||
|
||||
_horizFieldOfView.onChange([this]() {
|
||||
global::windowDelegate.setHorizFieldOfView(_horizFieldOfView);
|
||||
if (global::windowDelegate.isMaster()) {
|
||||
global::windowDelegate.setHorizFieldOfView(_horizFieldOfView);
|
||||
}
|
||||
});
|
||||
addProperty(_horizFieldOfView);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user