Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-import support (from both actions and toolkit) #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Danielmelody
Copy link

@Danielmelody Danielmelody commented Nov 24, 2020

To get it work on 4.20 and later, #4 should be merged too.

@Danielmelody
Copy link
Author

This is necessary when working with external text editors, to simplify workflow and reduce inconsistency

@samrrr
Copy link

samrrr commented Mar 22, 2021

When you use this asset commit, you should put
pTextAsset->Modify();
To TextAssetFactory.cpp 107 line:
if (FFileHelper::LoadFileToString(NewText, *ResolvedSourceFilePath))
{
pTextAsset->Text = NewText;
pTextAsset->Modify();
return EReimportResult::Succeeded;
}

@Danielmelody
Copy link
Author

@samrrr Thanks, added it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants