diff options
author | Falk David <falkdavid@gmx.de> | 2021-01-06 19:53:37 +0300 |
---|---|---|
committer | Falk David <falkdavid@gmx.de> | 2021-01-06 19:54:44 +0300 |
commit | 5cdf279ef46fa8672d086d1f57025e31f477accc (patch) | |
tree | ffa42ae1494a3e5dfb9b356113fb11fdc75ca3bf /source/blender/editors/mesh | |
parent | 6672cbeb236444541037e728759792b1208df0da (diff) |
Fix T84420: Linking regular materials to gpencil
When using "Make Links"->"Materials" regular materials could be linked
onto grease pencil objects. This caused a number of issues.
The fix changes the `allow_make_links_data` function to make sure that
if one object is of type `OB_GPENCIL`, the other has to be aswell.
Reviewed By: antoniov
Maniphest Tasks: T84420
Differential Revision: https://developer.blender.org/D10014
Diffstat (limited to 'source/blender/editors/mesh')
0 files changed, 0 insertions, 0 deletions