Page MenuHome

Fix Grease Pencil materials added by Python missing
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Nov 18 2022, 10:26 AM.

Details

Summary

These materials were missing from the "Change Active Material" menu.

Caused by rBe3faef686d38.

Error was getting the preview [which wasnt there yet]
These only appeared once the material tab in the Properties Editor was
used (since this ensured a valid preview icon).

Above commit changed behavior for RNA icon getter (this does not create
data anymore), so ensure the preview by hand here.

Similar to rB182edd4c35c2.

Fixes T102566.

Diff Detail

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