Commit 182e344f authored by Emil Axelsson's avatar Emil Axelsson Committed by Alexander Bock
Browse files

Change Name to Identifier in globe browsing helper code (#567)

parent 0547c143
Showing with 4 additions and 4 deletions
+4 -4
......@@ -166,7 +166,7 @@ openspace.globebrowsing.parseInfoFile = function (file)
local color = nil
if ColorFile then
color = {
Name = Name,
Identifier = Identifier,
Description = Description or "",
FilePath = dir .. '/' .. ColorFile,
BlendMode = "Color"
......@@ -176,7 +176,7 @@ openspace.globebrowsing.parseInfoFile = function (file)
local height = nil
if HeightFile then
height = {
Name = Name,
Identifier = Identifier,
Description = Description or "",
FilePath = dir .. '/' .. HeightFile,
TilePixelSize = 90
......@@ -194,11 +194,11 @@ openspace.globebrowsing.addBlendingLayersFromDirectory = function (dir, node_nam
c, h = openspace.globebrowsing.parseInfoFile(file)
if c then
openspace.printInfo("Adding color layer '" .. c["Name"] .. "'")
openspace.printInfo("Adding color layer '" .. c["Identifier"] .. "'")
openspace.globebrowsing.addLayer(node_name, "ColorLayers", c)
end
if h then
openspace.printInfo("Adding height layer '" .. h["Name"] .. "'")
openspace.printInfo("Adding height layer '" .. h["Identifier"] .. "'")
openspace.globebrowsing.addLayer(node_name, "HeightLayers", h)
end
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment