Fix #104370: Draw: Don't request the same attribute more than once #104709

Merged
Miguel Pozo merged 2 commits from pragma37/blender:pull-fix-104370 into blender-v3.5-release 2023-02-15 23:55:02 +01:00

2 Commits

Author SHA1 Message Date
Miguel Pozo 71dece7bde Cleanup 2023-02-15 19:43:35 +01:00
Miguel Pozo 475fa43159 Fix 104370: Draw: Don't request the same attribute more than once
Avoid running out of attributes when multiple material slots use the same one.
Ideally, we should skip materials with no asigned geometry as well.
2023-02-15 19:20:15 +01:00