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:
authorJacques Lucke <jacques@blender.org>2021-03-05 12:22:39 +0300
committerJacques Lucke <jacques@blender.org>2021-03-05 12:22:39 +0300
commit381e2d4dc2b2773e348bfb481ab22bb9d553986c (patch)
tree6f41b98209a8203391c40a19c3d7fb41b8ea3fa2 /source/blender/depsgraph/intern/depsgraph.h
parentcf6208382eb6142085e7ce3052b177344ea156cc (diff)
parentb5d154f400e46ba322f0e08a231bb2557bf51a1e (diff)
Merge branch 'master' into temp-spreadsheet-editortemp-spreadsheet-editor
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h
index 14c91834739..df8c8215d2f 100644
--- a/source/blender/depsgraph/intern/depsgraph.h
+++ b/source/blender/depsgraph/intern/depsgraph.h
@@ -33,9 +33,7 @@
#include "MEM_guardedalloc.h"
-#include "DNA_ID.h" /* for ID_Type */
-
-#include "BKE_main.h" /* for MAX_LIBARRAY */
+#include "DNA_ID.h" /* for ID_Type and INDEX_ID_MAX */
#include "BLI_threads.h" /* for SpinLock */
@@ -111,10 +109,10 @@ struct Depsgraph {
bool need_update;
/* Indicates which ID types were updated. */
- char id_type_updated[MAX_LIBARRAY];
+ char id_type_updated[INDEX_ID_MAX];
/* Indicates type of IDs present in the depsgraph. */
- char id_type_exist[MAX_LIBARRAY];
+ char id_type_exist[INDEX_ID_MAX];
/* Quick-Access Temp Data ............. */