diff options
author | Joseph Eagar <joeedh@gmail.com> | 2021-04-08 06:39:16 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2021-04-08 06:39:16 +0300 |
commit | 6f91eaad39b021f516bca0e89638f6fd9b20aab5 (patch) | |
tree | 80101fd55f6ee384291dec95bd0fd62418e450e9 /source/blender/makesdna/DNA_meshdata_types.h | |
parent | 55045ed85a5e47096515b79136bc97e67a69bcce (diff) |
* Fixed an annoying number of undo bugs
* Original data for bmesh pbvh is no longer handled by the undo code.
This should eliminate a whole class of subtle and hard to track down
bugs.
Diffstat (limited to 'source/blender/makesdna/DNA_meshdata_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_meshdata_types.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index 6b0985b850f..996946bfa71 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -536,7 +536,10 @@ typedef struct MDynTopoVert { float origmask; float curvature_dir[3]; - int _pad[1]; + + /* id of current stroke, used to detect + if vertex original data needs to be updated*/ + int stroke_id; } MDynTopoVert; /*MDynTopoVert->flag*/ |