[Bf-blender-cvs] [d74cc6c08c4] master: Drivers: add separators to the Transform Channel type enum menu.

Alexander Gavrilov noreply at git.blender.org
Mon Sep 2 22:52:11 CEST 2019


Commit: d74cc6c08c428f7bc92ace5ff954da4606ed1e32
Author: Alexander Gavrilov
Date:   Mon Sep 2 23:39:31 2019 +0300
Branches: master
https://developer.blender.org/rBd74cc6c08c428f7bc92ace5ff954da4606ed1e32

Drivers: add separators to the Transform Channel type enum menu.

It's hard to find things quickly in the wall of '...ation' without breaks.

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

M	source/blender/makesrna/intern/rna_fcurve.c

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

diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c
index b6b759882b3..4f8e63e975f 100644
--- a/source/blender/makesrna/intern/rna_fcurve.c
+++ b/source/blender/makesrna/intern/rna_fcurve.c
@@ -1683,10 +1683,12 @@ static void rna_def_drivertarget(BlenderRNA *brna)
       {DTAR_TRANSCHAN_LOCX, "LOC_X", 0, "X Location", ""},
       {DTAR_TRANSCHAN_LOCY, "LOC_Y", 0, "Y Location", ""},
       {DTAR_TRANSCHAN_LOCZ, "LOC_Z", 0, "Z Location", ""},
+      {0, "", 0, NULL, NULL},
       {DTAR_TRANSCHAN_ROTX, "ROT_X", 0, "X Rotation", ""},
       {DTAR_TRANSCHAN_ROTY, "ROT_Y", 0, "Y Rotation", ""},
       {DTAR_TRANSCHAN_ROTZ, "ROT_Z", 0, "Z Rotation", ""},
       {DTAR_TRANSCHAN_ROTW, "ROT_W", 0, "W Rotation", ""},
+      {0, "", 0, NULL, NULL},
       {DTAR_TRANSCHAN_SCALEX, "SCALE_X", 0, "X Scale", ""},
       {DTAR_TRANSCHAN_SCALEY, "SCALE_Y", 0, "Y Scale", ""},
       {DTAR_TRANSCHAN_SCALEZ, "SCALE_Z", 0, "Z Scale", ""},



More information about the Bf-blender-cvs mailing list