LEFT | RIGHT |
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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 UVProjectModifierData *umd = (UVProjectModifierData *) md; | 357 UVProjectModifierData *umd = (UVProjectModifierData *) md; |
358 | 358 |
359 result = uvprojectModifier_do(umd, ob, derivedData); | 359 result = uvprojectModifier_do(umd, ob, derivedData); |
360 | 360 |
361 return result; | 361 return result; |
362 } | 362 } |
363 | 363 |
364 | 364 |
365 ModifierTypeInfo modifierType_UVProject = { | 365 ModifierTypeInfo modifierType_UVProject = { |
366 /* name */ "UVProject", | 366 /* name */ "UVProject", |
| 367 /* structName */ "UVProjectModifierData", |
| 368 /* structSize */ sizeof(UVProjectModifierData), |
367 } | 369 } |
368 | 370 |
369 if(override_image) { | 371 if(override_image) { |
370 tface->mode = TF_TEX; | 372 tface->mode = TF_TEX; |
371 tface->tpage = image; | 373 tface->tpage = image; |
372 } | 374 } |
373 } | 375 } |
LEFT | RIGHT |