Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2011-07-31 06:03:48 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2011-07-31 06:03:48 +0400
commit6c3bb8b9030a86388d42a752b0cba2826630c4c6 (patch)
tree984b6fc3b1da05f0cf6b7eaaea57a1799977d038 /source/blender/modifiers/intern/MOD_skin.c
parentcff57b14a122a7925d8fb6aeb0ecd53984fa0c58 (diff)
EditMesh-based skin node drawing
Diffstat (limited to 'source/blender/modifiers/intern/MOD_skin.c')
-rw-r--r--source/blender/modifiers/intern/MOD_skin.c88
1 files changed, 0 insertions, 88 deletions
diff --git a/source/blender/modifiers/intern/MOD_skin.c b/source/blender/modifiers/intern/MOD_skin.c
deleted file mode 100644
index adc47f32c9c..00000000000
--- a/source/blender/modifiers/intern/MOD_skin.c
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
-* $Id$
-*
-* ***** 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.
-*
-* 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,
-* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*
-* ***** END GPL LICENSE BLOCK *****
-*
-*/
-
-/** \file blender/modifiers/intern/MOD_skin.c
- * \ingroup modifiers
- */
-
-
-#include <stddef.h>
-
-#include "BKE_cdderivedmesh.h"
-#include "BKE_modifier.h"
-
-#include "DNA_mesh_types.h"
-#include "DNA_object_types.h"
-
-#include "MOD_util.h"
-
-static void initData(ModifierData *md)
-{
- SkinModifierData *smd = (SkinModifierData*)md;
-
- smd->threshold = 0;
- smd->subdiv = 1;
- smd->flag = MOD_SKIN_DRAW_NODES;
-}
-
-static void copyData(ModifierData *md, ModifierData *target)
-{
- SkinModifierData *smd = (SkinModifierData*) md;
- SkinModifierData *tsmd = (SkinModifierData*) target;
-
- tsmd->threshold = smd->threshold;
- tsmd->subdiv = smd->subdiv;
- tsmd->flag = smd->flag;
-}
-
-static DerivedMesh *applyModifier(ModifierData *md, Object *ob, DerivedMesh *dm,
- int useRenderParams, int isFinalCalc)
-{
- return dm;
-}
-
-
-ModifierTypeInfo modifierType_Skin = {
- /* name */ "Skin",
- /* structName */ "SkinModifierData",
- /* structSize */ sizeof(SkinModifierData),
- /* type */ eModifierTypeType_Constructive,
- /* flags */ eModifierTypeFlag_AcceptsMesh,
-
- /* copyData */ copyData,
- /* deformVerts */ NULL,
- /* deformMatrices */ NULL,
- /* deformVertsEM */ NULL,
- /* deformMatricesEM */ NULL,
- /* applyModifier */ applyModifier,
- /* applyModifierEM */ NULL,
- /* initData */ initData,
- /* requiredDataMask */ NULL,
- /* freeData */ NULL,
- /* isDisabled */ NULL,
- /* updateDepgraph */ NULL,
- /* dependsOnTime */ NULL,
- /* dependsOnNormals */ NULL,
- /* foreachObjectLink */ NULL,
- /* foreachIDLink */ NULL,
-};