mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 03:49:43 -05:00
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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user