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:
authorClément Foucault <foucault.clem@gmail.com>2018-02-22 00:51:35 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-02-22 00:51:35 +0300
commit87c72a7d2714de286109573055d5d5da32ece91e (patch)
tree73a278791f7dcde5b97e374c846d25d1ac9682c2 /source/blender/makesdna/DNA_ID.h
parent7be1928ea1986408972007081ec139ee802ed528 (diff)
BKE: Changing ID freeing order.
Screen can contains manipulators that contains batches to be freed before the opengl contexts (in WM) are destroyed. Also fix other GPU related free.
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r--source/blender/makesdna/DNA_ID.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index fd8cd8b2855..ffa09a21944 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -519,6 +519,8 @@ enum {
* keep them in sync! */
enum {
INDEX_ID_LI = 0,
+ INDEX_ID_WS,
+ INDEX_ID_WM,
INDEX_ID_IP,
INDEX_ID_AC,
INDEX_ID_KE,
@@ -551,8 +553,6 @@ enum {
INDEX_ID_OB,
INDEX_ID_LS,
INDEX_ID_SCE,
- INDEX_ID_WS,
- INDEX_ID_WM,
INDEX_ID_MSK,
INDEX_ID_NULL,
};