Skip to content

Refresh metadata on .SGT export#613

Open
timothyliu3d wants to merge 2 commits intomgear-dev:masterfrom
timothyliu3d:5.2.1/refresh-metadata-on-sgt-export
Open

Refresh metadata on .SGT export#613
timothyliu3d wants to merge 2 commits intomgear-dev:masterfrom
timothyliu3d:5.2.1/refresh-metadata-on-sgt-export

Conversation

@timothyliu3d
Copy link
Contributor

Description of Changes

  1. Add a method to refresh a guide's metadata (e.g. user, datetime, versions).
  2. Exporting an SGT will now implicitly call this refresh method.
    1. Only applies to selection-based export. It is assumed the data should not change if caller explicitly passes conf data.

Currently, if someone were to start from a guide sample and make changes, the exported SGT would still say it is "exported by Miquel in 2020"!

Testing Done

mGear 5.2.1
Maya 2026
Windows 11

Able to import sample guides, then export SGT with new metadata.
Able to import the new SGT properly.

Related Issue(s)

N/A

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.

1 participant