diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-03-30 19:39:43 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-03-31 10:18:21 +0300 |
commit | 92f2b77e78a841854d65041e0be4bce511ed5607 (patch) | |
tree | 119994974e50e0015bfdfe50311f97ed8aa958ac /source/blender/draw/intern | |
parent | ae1f8315f77b34c9e658697e4d7083355c216f60 (diff) |
Cleanup: Compilation warnings in gpencil code after DNA C++ changes
Direct replacement of code:
- memcpy of a single point is done as a shallow_copy() assignment.
- memcpy of a range of points is done with an explicit cast to void*
to tell compiler that we really want to memcpy even a non-trivial
type.
In some cases it seems that memcpy can be used more (points are copied
in a loop). Those left as-is since this is supposed to be a simple
cleanup.
Differential Revision: https://developer.blender.org/D14505
Diffstat (limited to 'source/blender/draw/intern')
0 files changed, 0 insertions, 0 deletions