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:
authorCampbell Barton <ideasman42@gmail.com>2021-02-11 16:09:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-11 16:40:58 +0300
commit196dfc01a3e99c3bef0e44acf599bca50ae0300e (patch)
tree5d1b42a947e5f339b0a79e5f8d7a4617128d907a /source/blender/blenkernel/BKE_customdata.h
parentb20872d36ebcf8777b8a6970425ebbdd81eac29d (diff)
Fix T84114: Existence of vertex groups slows down mesh editing
Having a vertex group in a mesh slowed down unrelated operations such as selection. De-duplicating custom-data arrays for layers that contain pointers can become slow without any benefit as the content never matches. Use full copies when storing custom-data for edit-mesh undo.
Diffstat (limited to 'source/blender/blenkernel/BKE_customdata.h')
-rw-r--r--source/blender/blenkernel/BKE_customdata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_customdata.h b/source/blender/blenkernel/BKE_customdata.h
index 51650d161ea..57fdafaf8d9 100644
--- a/source/blender/blenkernel/BKE_customdata.h
+++ b/source/blender/blenkernel/BKE_customdata.h
@@ -421,6 +421,7 @@ int CustomData_sizeof(int type);
/* get the name of a layer type */
const char *CustomData_layertype_name(int type);
bool CustomData_layertype_is_singleton(int type);
+bool CustomData_layertype_is_dynamic(int type);
int CustomData_layertype_layers_max(const int type);
/* make sure the name of layer at index is unique */