UI: let multi-num-drag change different ID values

Handy for property-chart addon.
This commit is contained in:
Campbell Barton 2014-10-29 22:35:09 +01:00
parent 5802d4531d
commit 2f26683cdd
1 changed files with 2 additions and 4 deletions

View File

@ -1747,12 +1747,10 @@ bool ui_is_but_compatible(const uiBut *but_a, const uiBut *but_b)
return false;
if (but_a->rnaprop) {
/* skip 'rnapoin.data', 'rnapoin.id.data'
* allow different data to have the same props edited at once */
if (but_a->rnapoin.type != but_b->rnapoin.type)
return false;
if (but_a->rnapoin.data != but_b->rnapoin.data)
return false;
if (but_a->rnapoin.id.data != but_b->rnapoin.id.data)
return false;
if (RNA_property_type(but_a->rnaprop) != RNA_property_type(but_b->rnaprop))
return false;
if (RNA_property_subtype(but_a->rnaprop) != RNA_property_subtype(but_b->rnaprop))