2011-02-23 10:52:22 +00:00
|
|
|
/*
|
2010-04-11 23:20:03 +00:00
|
|
|
* $Id$
|
2010-04-11 22:12:30 +00:00
|
|
|
*
|
|
|
|
* ***** BEGIN GPL LICENSE BLOCK *****
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version. The Blender
|
|
|
|
* Foundation also sells licenses for use in proprietary software under
|
|
|
|
* the Blender License. See http://www.blender.org/BL/ for information
|
|
|
|
* about this.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful;
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software Foundation;
|
2010-08-10 21:22:26 +00:00
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2010-04-11 22:12:30 +00:00
|
|
|
*
|
|
|
|
* The Original Code is Copyright (C) 2005 Blender Foundation.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* The Original Code is: all of this file.
|
|
|
|
*
|
|
|
|
* Contributor(s): Daniel Dunbar
|
|
|
|
* Ton Roosendaal,
|
|
|
|
* Ben Batt,
|
|
|
|
* Brecht Van Lommel,
|
|
|
|
* Campbell Barton
|
|
|
|
*
|
|
|
|
* ***** END GPL LICENSE BLOCK *****
|
|
|
|
*/
|
|
|
|
|
2011-02-25 13:57:17 +00:00
|
|
|
/** \file blender/modifiers/intern/MOD_none.c
|
|
|
|
* \ingroup modifiers
|
|
|
|
*/
|
|
|
|
|
2011-03-05 10:29:10 +00:00
|
|
|
#include <stdio.h>
|
2011-01-07 18:36:47 +00:00
|
|
|
|
|
|
|
#include "BLI_utildefines.h"
|
|
|
|
|
2010-04-11 22:12:30 +00:00
|
|
|
#include "MOD_modifiertypes.h"
|
|
|
|
|
|
|
|
/* We only need to define isDisabled; because it always returns 1,
|
|
|
|
* no other functions will be called
|
|
|
|
*/
|
|
|
|
|
2010-10-14 06:29:17 +00:00
|
|
|
static int isDisabled(ModifierData *UNUSED(md), int UNUSED(userRenderParams))
|
2010-04-11 22:12:30 +00:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
ModifierTypeInfo modifierType_None = {
|
|
|
|
/* name */ "None",
|
|
|
|
/* structName */ "ModifierData",
|
|
|
|
/* structSize */ sizeof(ModifierData),
|
2011-06-04 03:07:56 +00:00
|
|
|
/* type */ eModifierTypeType_None,
|
2010-04-11 22:12:30 +00:00
|
|
|
/* flags */ eModifierTypeFlag_AcceptsMesh
|
|
|
|
| eModifierTypeFlag_AcceptsCVs,
|
|
|
|
|
2011-03-05 10:29:10 +00:00
|
|
|
/* copyData */ NULL,
|
|
|
|
/* deformVerts */ NULL,
|
|
|
|
/* deformMatrices */ NULL,
|
|
|
|
/* deformVertsEM */ NULL,
|
|
|
|
/* deformMatricesEM */ NULL,
|
|
|
|
/* applyModifier */ NULL,
|
|
|
|
/* applyModifierEM */ NULL,
|
|
|
|
/* initData */ NULL,
|
|
|
|
/* requiredDataMask */ NULL,
|
|
|
|
/* freeData */ NULL,
|
2010-04-11 22:12:30 +00:00
|
|
|
/* isDisabled */ isDisabled,
|
2011-03-05 10:29:10 +00:00
|
|
|
/* updateDepgraph */ NULL,
|
|
|
|
/* dependsOnTime */ NULL,
|
|
|
|
/* dependsOnNormals */ NULL,
|
|
|
|
/* foreachObjectLink */ NULL,
|
|
|
|
/* foreachIDLink */ NULL,
|
2010-04-11 22:12:30 +00:00
|
|
|
};
|