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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-28 18:33:45 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-28 18:33:45 +0300
commitd6cde962865090347c82a324dd360f28df257369 (patch)
treef0ff08f27d008799c52c19b59970203b078dd331 /source/blender/blenloader/intern/writefile.c
parent2138afc0875b6be4ff58a6d9238defb9103006d6 (diff)
Added support for custom RNA properties on Bones, only worked for
PoseChannel previously.
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r--source/blender/blenloader/intern/writefile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 7368663f64a..ee84ae59974 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -2131,6 +2131,11 @@ static void write_bone(WriteData *wd, Bone* bone)
// Write this bone
writestruct(wd, DATA, "Bone", 1, bone);
+
+ /* Write ID Properties -- and copy this comment EXACTLY for easy finding
+ of library blocks that implement this.*/
+ if (bone->prop)
+ IDP_WriteProperty(bone->prop, wd);
// Write Children
cbone= bone->childbase.first;