OLD | NEW |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 2017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2028 me->totselect++; | 2028 me->totselect++; |
2029 } | 2029 } |
2030 else if (msel_index != me->totselect - 1) { | 2030 else if (msel_index != me->totselect - 1) { |
2031 /* move to the end */ | 2031 /* move to the end */ |
2032 SWAP(MSelect, me->mselect[msel_index], me->mselect[me->totselect
- 1]); | 2032 SWAP(MSelect, me->mselect[msel_index], me->mselect[me->totselect
- 1]); |
2033 } | 2033 } |
2034 | 2034 |
2035 BLI_assert((me->mselect[me->totselect - 1].index == index) && | 2035 BLI_assert((me->mselect[me->totselect - 1].index == index) && |
2036 (me->mselect[me->totselect - 1].type == type)); | 2036 (me->mselect[me->totselect - 1].type == type)); |
2037 } | 2037 } |
error: old chunk mismatch |
OLD | NEW |