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:
authorMartin Poirier <theeth@yahoo.com>2005-07-15 09:30:58 +0400
committerMartin Poirier <theeth@yahoo.com>2005-07-15 09:30:58 +0400
commit6f264a0e5b8ae310d31e3d82c42b78532fec47b6 (patch)
tree0f6dd83ed23f92ccc9970dd679ec2dc27bbc7729 /source/blender/blenkernel/BKE_key.h
parent5332854a7b3b6a995919b0d42572bb8b0e86a739 (diff)
BPY Support for Deform Parenting and Vertex Parenting
This adds two new method to the BPY Object type: - makeParentDeform - makeParentVertex Both are based on makeParent. In fact, I splitted off the parenting part of makeParent into an internal function so that all can reuse it. I also added DEP_graph refresh flag that where missing. makeParentDeform sets the parent type accordingly for correct deformation (armature and curve) and checks if the parent and childs are of the correct type for deformation. makeParentVertex takes as additional mandatory argument a tuple of indices to tell the parent which vertex to use. It does some object type checking too. Also included documentation. :) Test file is in the patch there: http://projects.blender.org/tracker/?func=detail&atid=127&aid=2833&group_id=9 Note to Ton: When doing vertex parenting, the dashed parent line is only updated correctly if the objects are on screen when calling the function. If they aren't, the line is wrong and is only corrected when another recalc is called on the parent or child.
Diffstat (limited to 'source/blender/blenkernel/BKE_key.h')
0 files changed, 0 insertions, 0 deletions