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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 return 1; | 555 return 1; |
556 } | 556 } |
557 | 557 |
558 static int layerWrite_mdisps(CDataFile *cdf, void *data, int count) | 558 static int layerWrite_mdisps(CDataFile *cdf, void *data, int count) |
559 { | 559 { |
560 MDisps *d = data; | 560 MDisps *d = data; |
561 int i; | 561 int i; |
562 | 562 |
563 for (i = 0; i < count; ++i) { | 563 for (i = 0; i < count; ++i) { |
564 if (!cdf_write_data(cdf, d[i].totdisp * 3 * sizeof(float), d[i].
disps)) { | 564 if (!cdf_write_data(cdf, d[i].totdisp * 3 * sizeof(float), d[i].
disps)) { |
error: old chunk mismatch |
OLD | NEW |