Drivers: Copy/Paste tools for the RMB Menu

Drivers can now be copied/pasted for single properties, allowing drivers set up on one property to be added to a few other properties relatively easily. 

Also, added description strings for the other driver-button operators.
This commit is contained in:
2009-09-25 04:51:04 +00:00
parent 0aa08fce72
commit 2d22ea1f92
8 changed files with 271 additions and 13 deletions

View File

@@ -480,7 +480,7 @@ static void ui_item_enum_row(uiLayout *layout, uiBlock *block, PointerRNA *ptr,
static uiBut *ui_item_with_label(uiLayout *layout, uiBlock *block, char *name, int icon, PointerRNA *ptr, PropertyRNA *prop, int index, int x, int y, int w, int h, int icon_only)
{
uiLayout *sub;
uiBut *but;
uiBut *but=NULL;
PropertyType type;
PropertySubType subtype;
int labelw;