mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Rename some more deprecated functions in Lua calls
This commit is contained in:
@@ -34,7 +34,7 @@ openspace.globebrowsing.setNodePosition = function (node_identifer, globe_identi
|
||||
end
|
||||
|
||||
openspace.globebrowsing.setNodePositionFromCamera = function (node_identifer, use_altitude)
|
||||
local lat, lon, alt = openspace.globebrowsing.getGeoPositionForCamera();
|
||||
local lat, lon, alt = openspace.globebrowsing.geoPositionForCamera();
|
||||
local camera = openspace.navigation.getNavigationState();
|
||||
openspace.setParent(node_identifer, camera.Anchor)
|
||||
openspace.setPropertyValueSingle('Scene.' .. node_identifer .. '.Translation.Globe', camera.Anchor);
|
||||
|
||||
Reference in New Issue
Block a user