[Bf-blender-cvs] [c1f5a56e32f] master: Tweak default ID types processing order, step 16: Palettes.

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


Commit: c1f5a56e32f2cac5dbb0a5b1515d809db1e01205
Author: Bastien Montagne
Date:   Wed Mar 24 12:52:51 2021 +0100
Branches: master
https://developer.blender.org/rBc1f5a56e32f2cac5dbb0a5b1515d809db1e01205

Tweak default ID types processing order, step 16: Palettes.

Move Palettes type with other weird, not-really-data ID types (like
PaintCurves and Brushes), higher in the process.

Those preset-like types may use a lot of other ID types, but should only
be used by UI-related (and Scene, for tool settings) 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 8f4718b56cd..f30a241439a 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -766,7 +766,6 @@ enum {
   INDEX_ID_LI = 0,
   INDEX_ID_IP,
   INDEX_ID_AC,
-  INDEX_ID_PAL,
   INDEX_ID_GD,
   INDEX_ID_NT,
   INDEX_ID_VF,
@@ -797,6 +796,7 @@ enum {
   INDEX_ID_LP,
   INDEX_ID_OB,
   INDEX_ID_GR,
+  INDEX_ID_PAL,
   INDEX_ID_PC,
   INDEX_ID_BR,
   INDEX_ID_SCE,



More information about the Bf-blender-cvs mailing list