[Bf-blender-cvs] [72fa0d48ea3] master: Tweak default ID types processing order, step 06: Brushes.

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


Commit: 72fa0d48ea3dd531ec17aacb2052d59f3feaa4d5
Author: Bastien Montagne
Date:   Wed Mar 24 12:50:03 2021 +0100
Branches: master
https://developer.blender.org/rB72fa0d48ea3dd531ec17aacb2052d59f3feaa4d5

Tweak default ID types processing order, step 06: Brushes.

Move Brushes type with other weird, not-really-data ID types (like
Palette 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 c233985fc0e..05a8e9a0b30 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -789,7 +789,6 @@ enum {
   INDEX_ID_CA,
   INDEX_ID_TXT,
   INDEX_ID_SO,
-  INDEX_ID_BR,
   INDEX_ID_PA,
   INDEX_ID_SPK,
   INDEX_ID_LP,
@@ -799,6 +798,7 @@ enum {
   INDEX_ID_LS,
   INDEX_ID_GR,
   INDEX_ID_PC,
+  INDEX_ID_BR,
   INDEX_ID_SCE,
   INDEX_ID_SCR,
   INDEX_ID_WS,



More information about the Bf-blender-cvs mailing list