GPv3: Refactor the 'dna processing' code when reading/writing blendfile. #117413

Merged
Bastien Montagne merged 1 commits from mont29/blender:gp_readwrite into main 2024-01-22 17:44:53 +01:00

1 Commits

Author SHA1 Message Date
Bastien Montagne 1648470098 GPV3: Refactor the 'dna processing' code when reading/writing blendfile.
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-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
GreasePencil v3 requires some additional processing on its data before
writing to blendfile, and after reading from it.

Extract this from generic `read/write` code, and put it into dedicated
callbacks in Cpp classes that need it (layer groups and leaves
currently).

NOTE: Work done while exploring possibility to use 'memfile' read/write
code for GP editmode undo (!117072), but ended up taking a different
approach for it, so this PR is purely a 'no expected changes in behavior'
refactor at this point.
2024-01-22 15:47:05 +01:00