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:
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r--source/blender/blenloader/intern/writefile.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index ee84ae59974..8ec12496e59 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -1077,7 +1077,15 @@ static void write_constraints(WriteData *wd, ListBase *conlist)
of library blocks that implement this.*/
IDP_WriteProperty(data->prop, wd);
}
- break;
+ break;
+ case CONSTRAINT_TYPE_SPLINEIK:
+ {
+ bSplineIKConstraint *data= (bSplineIKConstraint*)con->data;
+
+ /* write points array */
+ writedata(wd, DATA, sizeof(float)*(data->numpoints), data->points);
+ }
+ break;
}
}