diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-03 08:04:05 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-03 08:04:05 +0400 |
commit | 8a58197cf3f35fe5123721f4a2d8161f1147c3f2 (patch) | |
tree | 2ed9c5f310082b99f604bf39c4a3b6b9b85b0477 /source/blender/blenkernel/BKE_modifier.h | |
parent | d02d09da84475013c36300de18d27e28c4b6b5e2 (diff) |
- change modifier applyModifier[EM] function to not free derived argument
- added modifier_supportsMapping function
- update CCG to set actual vertex normal (and not just
interior face vertex normal, bla bla bla no one knows
what this means nevermind).
- renamed modifierType_get_info to modifierType_getInfo for
consistency and to increase my commit line count.
- update EditMeshDerivedMesh to calculate (and use new) normals
when given deformed vertices
- added
- update editmode modifier calculation to also calculate a cage,
not working 100% atm, in particular if a deformer follows a modifier
that returns a DerivedMesh the cage is not accurate.
- added ccg derivedmesh drawMapped{Vert,Face]NormalsEM functions
- currently UI for selecting the cage mesh is rather irritating,
will be updated
Diffstat (limited to 'source/blender/blenkernel/BKE_modifier.h')
-rw-r--r-- | source/blender/blenkernel/BKE_modifier.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_modifier.h b/source/blender/blenkernel/BKE_modifier.h index 94e174f0e0e..b584fca68e1 100644 --- a/source/blender/blenkernel/BKE_modifier.h +++ b/source/blender/blenkernel/BKE_modifier.h @@ -155,7 +155,7 @@ typedef struct ModifierTypeInfo { * at the moment, it is meant so subsurf can know if it is safe to reuse its * internal cache. * - * The modifier is expected to release (or reuse) the _derivedData_ argument + * The modifier *MAY NOT* reuse or release the _derivedData_ argument * if non-NULL. The modifier *MAY NOT* share the _vertexCos_ argument. */ void *(*applyModifier)(struct ModifierData *md, struct Object *ob, void *derivedData, float (*vertexCos)[3], int useRenderParams, int isFinalCalc); @@ -169,7 +169,7 @@ typedef struct ModifierTypeInfo { void *(*applyModifierEM)(struct ModifierData *md, struct Object *ob, void *editData, void *derivedData, float (*vertexCos)[3]); } ModifierTypeInfo; -ModifierTypeInfo *modifierType_get_info(ModifierType type); +ModifierTypeInfo* modifierType_getInfo (ModifierType type); /* Modifier utility calls, do call through type pointer and return * default values if pointer is optional. @@ -179,6 +179,7 @@ void modifier_free (struct ModifierData *md); void modifier_copyData (struct ModifierData *md, struct ModifierData *target); int modifier_dependsOnTime (struct ModifierData *md); +int modifier_supportsMapping(struct ModifierData *md); struct ModifierData* modifiers_findByType (struct ListBase *lb, ModifierType type); |