Skip to content

Refresh metadata on .SGT export#613

Merged
miquelcampos merged 3 commits intomgear-dev:masterfrom
timothyliu3d:5.2.1/refresh-metadata-on-sgt-export
Mar 25, 2026
Merged

Refresh metadata on .SGT export#613
miquelcampos merged 3 commits intomgear-dev:masterfrom
timothyliu3d:5.2.1/refresh-metadata-on-sgt-export

Conversation

@timothyliu3d
Copy link
Copy Markdown
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

@miquelcampos miquelcampos self-assigned this Mar 12, 2026
@miquelcampos
Copy link
Copy Markdown
Member

Thanks @timothyliu3d for the PR I will check it this week

@miquelcampos miquelcampos moved this to WIP in mGear DEV Mar 12, 2026
@miquelcampos miquelcampos merged commit 62350e0 into mgear-dev:master Mar 25, 2026
0 of 3 checks passed
@github-project-automation github-project-automation bot moved this from WIP to 5.3.x in mGear DEV Mar 25, 2026
@timothyliu3d timothyliu3d deleted the 5.2.1/refresh-metadata-on-sgt-export branch March 25, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 5.3.x

Development

Successfully merging this pull request may close these issues.

2 participants