MCPcopy Create free account
hub / github.com/chrxh/alien / initIntern

Method initIntern

source/Gui/SpatialControlWindow.cpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#include "ResizeWorldDialog.h"
15
16void SpatialControlWindow::initIntern(SimulationFacade simulationFacade)
17{
18 _simulationFacade = simulationFacade;
19 ResizeWorldDialog::get().setup(simulationFacade);
20
21 auto& settings = GlobalSettings::get();
22 Viewport::get().setZoomSensitivity(settings.getValue("windows.spatial control.zoom sensitivity factor", Viewport::get().getZoomSensitivity()));
23}
24
25SpatialControlWindow::SpatialControlWindow()
26 : AlienWindow("Spatial control", "windows.spatial control", true)

Callers

nothing calls this directly

Calls 4

setZoomSensitivityMethod · 0.80
getValueMethod · 0.80
getZoomSensitivityMethod · 0.80
setupMethod · 0.45

Tested by

no test coverage detected