Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Eagar <joeedh@gmail.com>2021-04-08 06:39:16 +0300
committerJoseph Eagar <joeedh@gmail.com>2021-04-08 06:39:16 +0300
commit6f91eaad39b021f516bca0e89638f6fd9b20aab5 (patch)
tree80101fd55f6ee384291dec95bd0fd62418e450e9 /source/blender/makesdna/DNA_meshdata_types.h
parent55045ed85a5e47096515b79136bc97e67a69bcce (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.h5
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*/