diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-13 19:43:34 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-13 19:43:34 +0300 |
commit | 08a8de739d8c7fa60f257ed171d292879edae013 (patch) | |
tree | 178b714da521826998f56bc15acb4c4019820b2e /source/blender/makesdna/DNA_lattice_types.h | |
parent | eaf416693dcb431ec122fc559788e6c930038c23 (diff) |
Fix: Resolve deprecation warning when copying polygon struct
`MPoly` is used and copied in many places. To avoid the need to use a
special function for copying MPoly, or the need to add a copy
constructor, just rename the `mat_nr` field to include "legacy" in the
name. This keeps the original purpose of notifying developers that
the field shouldn't be used without any further complexity.
Apply the same fix to `bweight`.
Differential Revision: https://developer.blender.org/D15841
Diffstat (limited to 'source/blender/makesdna/DNA_lattice_types.h')
0 files changed, 0 insertions, 0 deletions