initial compile of detailed path of change to regular sc files
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -26,12 +26,7 @@ namespace ScriptCanvasEditor
|
||||
recentOpenFileLocation = settings.value(SCRIPTCANVASEDITOR_SETTINGS_RECENT_OPEN_FILE_LOCATION_KEY).toString();
|
||||
settings.endGroup();
|
||||
|
||||
if (recentOpenFileLocation.isEmpty())
|
||||
{
|
||||
return {};
|
||||
}
|
||||
AZ::Data::AssetId assetId(recentOpenFileLocation.toUtf8().constData());
|
||||
return assetId;
|
||||
return { nullptr, {}, recentOpenFileLocation.toUtf8().constData() };
|
||||
}
|
||||
|
||||
void SetRecentAssetId(SourceHandle assetId)
|
||||
@@ -39,7 +34,7 @@ namespace ScriptCanvasEditor
|
||||
QSettings settings(QSettings::IniFormat, QSettings::UserScope,
|
||||
SCRIPTCANVASEDITOR_AZ_QCOREAPPLICATION_SETTINGS_ORGANIZATION_NAME);
|
||||
|
||||
AZStd::string guidStr = assetId.m_guid.ToString<AZStd::string>();
|
||||
AZStd::string guidStr = assetId.Id().ToString<AZStd::string>();
|
||||
|
||||
settings.beginGroup(SCRIPTCANVASEDITOR_NAME_SHORT);
|
||||
settings.setValue(SCRIPTCANVASEDITOR_SETTINGS_RECENT_OPEN_FILE_LOCATION_KEY,
|
||||
|
||||
Reference in New Issue
Block a user