[Bf-blender-cvs] [3bdd7ba] master: Driver Mapping Types: Added temporary icons to break up the two types of mapping behaviours (modal vs manual)

Joshua Leung noreply at git.blender.org
Tue Mar 29 16:22:33 CEST 2016


Commit: 3bdd7ba34ffa4e56b0fa75cecb408528d73a589b
Author: Joshua Leung
Date:   Wed Mar 30 03:18:01 2016 +1300
Branches: master
https://developer.blender.org/rB3bdd7ba34ffa4e56b0fa75cecb408528d73a589b

Driver Mapping Types: Added temporary icons to break up the two types of mapping behaviours (modal vs manual)

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

M	source/blender/editors/animation/drivers.c

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

diff --git a/source/blender/editors/animation/drivers.c b/source/blender/editors/animation/drivers.c
index eb214e3..c7412af 100644
--- a/source/blender/editors/animation/drivers.c
+++ b/source/blender/editors/animation/drivers.c
@@ -51,6 +51,7 @@
 #include "ED_keyframing.h"
 
 #include "UI_interface.h"
+#include "UI_resources.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
@@ -636,14 +637,14 @@ bool ANIM_paste_driver(ReportList *reports, ID *id, const char rna_path[], int a
 /* NOTE: Used by ANIM_OT_driver_button_add and UI_OT_eyedropper_driver */
 // XXX: These names need reviewing
 EnumPropertyItem prop_driver_create_mapping_types[] = {
-	{CREATEDRIVER_MAPPING_1_N, "SINGLE_MANY", 0, "All from Target",
+	{CREATEDRIVER_MAPPING_1_N, "SINGLE_MANY", ICON_UI, "All from Target",
 	 "Drive all components of this property using the target picked"},
 	{CREATEDRIVER_MAPPING_1_1, "DIRECT", 0, "Single from Target",
 	 "Drive this component of this property using the target picked"},
 	{CREATEDRIVER_MAPPING_N_N, "MATCH", 0, "Match Indices",
 	 "Create drivers for each pair of corresponding elements"},
 	 
-	{CREATEDRIVER_MAPPING_NONE_ALL, "NONE_ALL", 0, "Manually Create Later",
+	{CREATEDRIVER_MAPPING_NONE_ALL, "NONE_ALL", ICON_HAND, "Manually Create Later",
 	 "Create drivers for all properites without assigning any targets yet"},
 	{CREATEDRIVER_MAPPING_NONE,     "NONE_SINGLE", 0, "Manually Create Later (Single)",
 	 "Create driver for this property only and without assigning any targets yet"},




More information about the Bf-blender-cvs mailing list