Skip to content

Conversation

@kring
Copy link
Member

@kring kring commented Mar 29, 2022

This is a PR into #698. The reason Travis CI fails in that branch is because our dodgy cut down distribution of Unreal Engine doesn't include a bunch of plugins, including EditorScriptingUtilities. But it's relatively easy to remove the dependency in this case, so that's what I've done.

I also removed the code that saves the generated material. I think it's fine to let the Editor consider it unsaved, and to let the user save in the normal way if they would like to do so. But maybe there's a more subtle reason it was necessary to save it explicitly? Everything seemed to work ok, but it's possible I missed something.

@cesium-concierge
Copy link

Thanks for the pull request @kring!

  • ✔️ Signed CLA found.

Reviewers, don't forget to make sure that:

kring added 2 commits March 29, 2022 20:39
Using the technique described in the comments above the UE_DEPRECATED
macro.
@kring kring requested a review from nithinp7 March 29, 2022 11:51
@nithinp7
Copy link
Contributor

Thanks for looking into this @kring, the stale material issue I was worried about does not seem to appear even without auto-saving the material! So any open material editor is automatically updated after the regeneration (really it's closed and reopened). It's probably better not to save anyways, that should be up to the user.

@nithinp7 nithinp7 merged commit e0ade6d into metadata-textures Mar 29, 2022
@nithinp7 nithinp7 deleted the metadata-textures-no-new-plugin branch March 29, 2022 20:55
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.

4 participants