Blender Git Loki

Git Commits -> Revision 92ae3ff

Revision 92ae3ff by Bastien Montagne (master)
June 9, 2021, 14:33 (GMT)
Fix assigning material to linked object being forbidden in BKE.

While this should not be allowed in general, there are some cases
(library overrides at least) where supporting this is mandatory.

Further more, comment stating that this could crash is from 2011, could
not reproduce any issue with current code. Commit comment was referring
to undo/redo, but in use cases here those should not affect things.

Note that in general, such relatively high-level checks should be
handled by high-level, close to user code (like in ED area e.g.), not in
low-level BKE code anyway.

Commit Details:

Full Hash: 92ae3ff84ca90973efcb3372b1102ee2aaf7c14f
Parent Commit: 5954b35
Lines Changed: +0, -6

1 Modified Path:

/source/blender/blenkernel/intern/material.c (+0, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021