Refactor: Replace DNA_DEPRECATED attribute with _legacy suffix #105340

Merged
Sergey Sharybin merged 1 commits from Sergey/blender:tracking_deprecated into main 2023-03-01 15:19:07 +01:00

1 Commits

Author SHA1 Message Date
Sergey Sharybin ee18c3a98a Refactor: Replace DNA_DEPRECATED attribute with _legacy suffix
Applied for the motion tracking data data structures.

There are two advantages of doing so:

- More explicit and platform independent way of indicating that
  something is legacy and is not to be accessed outside of the
  versioning code.

- Simplifies conversion to C++ where having deprecated fields
  triggers warning in implicitly defined assign operator.
2023-03-01 14:10:42 +01:00