Blender V2.61 - r43446
|
00001 /* 00002 * ***** BEGIN GPL LICENSE BLOCK ***** 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public License 00006 * as published by the Free Software Foundation; either version 2 00007 * of the License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software Foundation, 00016 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 * 00018 * The Original Code is Copyright (C) 2005 Blender Foundation. 00019 * All rights reserved. 00020 * 00021 * The Original Code is: all of this file. 00022 * 00023 * Contributor(s): Daniel Dunbar 00024 * Ton Roosendaal, 00025 * Ben Batt, 00026 * Brecht Van Lommel, 00027 * Campbell Barton 00028 * 00029 * ***** END GPL LICENSE BLOCK ***** 00030 */ 00031 00036 #include <stdio.h> 00037 00038 #include "BLI_utildefines.h" 00039 00040 #include "MOD_modifiertypes.h" 00041 00042 /* We only need to define isDisabled; because it always returns 1, 00043 * no other functions will be called 00044 */ 00045 00046 static int isDisabled(ModifierData *UNUSED(md), int UNUSED(userRenderParams)) 00047 { 00048 return 1; 00049 } 00050 00051 ModifierTypeInfo modifierType_None = { 00052 /* name */ "None", 00053 /* structName */ "ModifierData", 00054 /* structSize */ sizeof(ModifierData), 00055 /* type */ eModifierTypeType_None, 00056 /* flags */ eModifierTypeFlag_AcceptsMesh 00057 | eModifierTypeFlag_AcceptsCVs, 00058 00059 /* copyData */ NULL, 00060 /* deformVerts */ NULL, 00061 /* deformMatrices */ NULL, 00062 /* deformVertsEM */ NULL, 00063 /* deformMatricesEM */ NULL, 00064 /* applyModifier */ NULL, 00065 /* applyModifierEM */ NULL, 00066 /* initData */ NULL, 00067 /* requiredDataMask */ NULL, 00068 /* freeData */ NULL, 00069 /* isDisabled */ isDisabled, 00070 /* updateDepgraph */ NULL, 00071 /* dependsOnTime */ NULL, 00072 /* dependsOnNormals */ NULL, 00073 /* foreachObjectLink */ NULL, 00074 /* foreachIDLink */ NULL, 00075 /* foreachTexLink */ NULL, 00076 };