Fix #91256, #112646: IDProperty UI data lost when changing type #106161

Merged
Hans Goudey merged 1 commits from HooglyBoogly/blender:fix-idprop-set-ui-data-reset into blender-v4.1-release 2024-03-12 15:49:33 +01:00

1 Commits

Author SHA1 Message Date
Hans Goudey b36e940179 Fix #91256: Convert UI data when changing IDProperty data type
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
With some data-type conversions we can do a best-effort conversion of
UI data like default values and min and max to the new data type.
This can help to make Python scripts simpler and to avoid bugs like

Fixes

Cleanup

Remove workaround

Cleanup

Cleanup

Cleanup

Fixes and cleanup
2024-03-12 10:23:54 -04:00