GPv3: Add layer 'pass index' attribute. #118495

Merged
Bastien Montagne merged 4 commits from mont29/blender:tmp-gp-layer-index into main 2024-02-22 14:54:00 +01:00

4 Commits

Author SHA1 Message Date
Bastien Montagne 69ffa3bdd7 Rename attribute to "pass_index".
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
"pass" in itself is a bit too generic. Further more, legacy GP data and
RNA property are bopth using `pass index` too. Better be consistent
here.
2024-02-22 11:17:23 +01:00
Bastien Montagne a8fc0a28e3 Merge branch 'main' into tmp-gp-layer-index 2024-02-22 10:57:04 +01:00
Bastien Montagne 109e08e985 Changes from review. 2024-02-20 15:16:30 +01:00
Bastien Montagne 2ff5b7ed3e GPv3: Add 'layer pass index'.
Add this data as a layer attribute. It's usage waas already implemented
by the modifier filtering generic code, but data itself did not yet
exist in GPv3 data.

Also add RNA accessors and handle it in conversion code.
2024-02-20 14:16:22 +01:00