2.5 Drivers - Widget Colours
* Widgets now get coloured when driven. The colour used is debatable, but I've just set it to a purplish colour so that it's easy to distinguish from animated/keyframes/highlight colours. * New drivers are given generator F-Curve modifiers by default so that they at least show up in the view.
This commit is contained in:
@@ -93,6 +93,9 @@ FCurve *verify_driver_fcurve (ID *id, const char rna_path[], const int array_ind
|
||||
/* add some new driver data */
|
||||
fcu->driver= MEM_callocN(sizeof(ChannelDriver), "ChannelDriver");
|
||||
|
||||
/* add simple generator modifier for driver so that there is some visible representation */
|
||||
fcurve_add_modifier(fcu, FMODIFIER_TYPE_GENERATOR);
|
||||
|
||||
/* just add F-Curve to end of driver list */
|
||||
BLI_addtail(&adt->drivers, fcu);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user