From 39bf5e5022a643a7e46182d3157cc940dbd21e55 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 24 Mar 2021 10:54:05 +0100 Subject: [PATCH] Tweak default ID types processing order, step 02: Simulations. This is a fairly low-level ID type, so it needs to be higher in the list, for now put it just before the shading-related types. --- source/blender/makesdna/DNA_ID.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 76676c0ebc1..258913f8e3e 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -773,6 +773,7 @@ enum { INDEX_ID_IM, INDEX_ID_TE, INDEX_ID_MA, + INDEX_ID_SIM, INDEX_ID_VF, INDEX_ID_AR, INDEX_ID_CF, @@ -801,10 +802,7 @@ enum { INDEX_ID_SCE, INDEX_ID_WS, INDEX_ID_WM, - /* TODO: This should probably be tweaked, #Mask and #Simulation are rather low-level types that - * should most likely be defined //before// #Object and geometry type indices? */ INDEX_ID_MSK, - INDEX_ID_SIM, INDEX_ID_NULL, INDEX_ID_MAX, };