[Bf-blender-cvs] [39bf5e5022a] master: Tweak default ID types processing order, step 02: Simulations.

Bastien Montagne noreply at git.blender.org
Wed Mar 24 15:19:00 CET 2021


Commit: 39bf5e5022a643a7e46182d3157cc940dbd21e55
Author: Bastien Montagne
Date:   Wed Mar 24 10:54:05 2021 +0100
Branches: master
https://developer.blender.org/rB39bf5e5022a643a7e46182d3157cc940dbd21e55

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.

===================================================================

M	source/blender/makesdna/DNA_ID.h

===================================================================

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,
 };



More information about the Bf-blender-cvs mailing list