Page MenuHome

Fix T73226: Add defaults and versioning for uv_relax_method
AbandonedPublic

Authored by Pablo Dobarro (pablodp606) on Feb 5 2020, 12:15 AM.

Details

Summary

This should fix the issue of previouly saved and new files.

Diff Detail

Repository
rB Blender
Branch
T73226 (branched from master)
Build Status
Buildable 6496
Build 6496: arc lint + arc unit

Event Timeline

Jeroen Bakker (jbakker) requested changes to this revision.Feb 7 2020, 4:19 PM
Jeroen Bakker (jbakker) added inline comments.
source/blender/blenloader/intern/versioning_280.c
4423

Wouldn't this reset the option everytime you load a file?
You can bump the subversion and check on the subversion so this doesn't happen.

This revision now requires changes to proceed.Feb 7 2020, 4:19 PM
Aaron Carlisle (Blendify) added inline comments.
source/blender/blenloader/intern/versioning_280.c
4423

This is in the section for *Versioning code until next subversion bump goes here.* So if I understand this is correct and will be fine by release when all this code gets put under an if (!MAIN_VERSION_ATLEAST(bmain, ***, *))

-Rebase

Is this versioning code correct as it is now or do I need to bump the subversion?

Jeroen Bakker (jbakker) requested changes to this revision.May 14 2020, 3:48 PM

Without the versioning bump the setting will be reset every time the user opens a file. We should increase the sub version so that users can save and load their file with the correct settings.

This revision now requires changes to proceed.May 14 2020, 3:48 PM