diff --git a/blender/addons/io_scene_foundry/tools/scenario/lightmap.py b/blender/addons/io_scene_foundry/tools/scenario/lightmap.py index a9628ea9..e6da3032 100644 --- a/blender/addons/io_scene_foundry/tools/scenario/lightmap.py +++ b/blender/addons/io_scene_foundry/tools/scenario/lightmap.py @@ -38,8 +38,8 @@ def poll(cls, context): def execute(self, context): asset_type = context.scene.nwo.asset_type - asset_path, _ = utils.get_asset_info() - scenario_path = str(Path(asset_path, asset_path)) + asset_path, asset_name = utils.get_asset_info() + scenario_path = str(Path(asset_path, asset_name)) scene_nwo_export = context.scene.nwo_export is_corinth = utils.is_corinth(context) os.system("cls")