diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-13 14:21:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-13 14:21:11 +0400 |
commit | a8d1c893e8cea727d24f0bd8c64732fadcbcbcf2 (patch) | |
tree | 7ece26514060f98da5e9b900ab1a534daf7928e9 /source/SConscript | |
parent | 4d5c64372ada6f8dbfd8d89d4bcd515eadbb32d4 (diff) |
make materials.pop() and more like pythons list.pop
- allow negative index values.
- error when invalid index value are passed in.
- remove last item if no index argument is given.
also change behavior to remove the material slot, it was only clearning by default but the list length remained the same.
Diffstat (limited to 'source/SConscript')
0 files changed, 0 insertions, 0 deletions