Code/Tools
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -950,7 +950,6 @@ namespace LUAEditor
|
||||
newAssetName += ".lua";
|
||||
}
|
||||
|
||||
AZ::Data::AssetType assetType = AZ::AzTypeInfo<AZ::ScriptAsset>::Uuid();
|
||||
AZ::Data::AssetId catalogAssetId;
|
||||
EBUS_EVENT_RESULT(catalogAssetId, AZ::Data::AssetCatalogRequestBus, GetAssetIdByPath, newAssetName.c_str(), AZ::AzTypeInfo<AZ::ScriptAsset>::Uuid(), false);
|
||||
|
||||
@@ -2419,7 +2418,7 @@ namespace LUAEditor
|
||||
std::regex errorRegex(".+\\.lua:(\\d+):(.*)");
|
||||
|
||||
AzToolsFramework::Logging::LogLine::ParseLog(logResult.GetValue().c_str(), logResult.GetValue().size(),
|
||||
[this, &msg, ¤tAsset, &errorRegex](AzToolsFramework::Logging::LogLine& logLine)
|
||||
[this, ¤tAsset, &errorRegex](AzToolsFramework::Logging::LogLine& logLine)
|
||||
{
|
||||
if ((logLine.GetLogType() == AzToolsFramework::Logging::LogLine::TYPE_WARNING) || (logLine.GetLogType() == AzToolsFramework::Logging::LogLine::TYPE_ERROR))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user