Add guard to gaia.scene to log error if the Gaia module was not compiled

Point to correct shader paths
Remove warnings
This commit is contained in:
Alexander Bock
2018-11-20 18:40:04 -05:00
parent 0d2935c43b
commit d37cfa4f18
9 changed files with 77 additions and 73 deletions
+6
View File
@@ -1,3 +1,9 @@
local has_gaia = openspace.modules.isLoaded('gaia2')
if not has_gaia then
openspace.printFatal('Could not load scene "' .. asset.filePath .. '" due to missing module "gaia"')
do return end
end
local assetHelper = asset.require('util/asset_helper')
asset.require('default')