forked from bartvdbraak/blender
bugfix [#23593] using material_slot.material=material_slot.material.copy() causes inescapable loop and blender to hang
This commit is contained in:
parent
a436adf26d
commit
629c19ff87
@ -1146,7 +1146,7 @@ static int check_for_dupid(ListBase *lb, ID *id, char *name)
|
||||
/* this would overflow name buffer */
|
||||
left[16] = 0;
|
||||
/* left_len = 16; */ /* for now this isnt used again */
|
||||
memcpy(name, left, sizeof(char) * 16);
|
||||
memcpy(name, left, sizeof(char) * 17);
|
||||
continue;
|
||||
}
|
||||
/* this format specifier is from hell... */
|
||||
|
Loading…
Reference in New Issue
Block a user