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:
authorTon Roosendaal <ton@blender.org>2006-06-27 14:51:35 +0400
committerTon Roosendaal <ton@blender.org>2006-06-27 14:51:35 +0400
commitd87b12a865c6658f4fbc663ff6e8229062f3a093 (patch)
tree6637473b3e878afc4f3fec73004d91f52372eb24 /source/blender/blenkernel/intern/lattice.c
parent2447ce7ee79aca318e9b9f3da0cc88b4cba94b6a (diff)
Bugfix #4488
On file load, a Curve deformation was not initialized when it wasn't in a visible layer.
Diffstat (limited to 'source/blender/blenkernel/intern/lattice.c')
-rw-r--r--source/blender/blenkernel/intern/lattice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/lattice.c b/source/blender/blenkernel/intern/lattice.c
index 29325138c15..81f7eb7a0eb 100644
--- a/source/blender/blenkernel/intern/lattice.c
+++ b/source/blender/blenkernel/intern/lattice.c
@@ -519,9 +519,9 @@ static void calc_curve_deform(Object *par, float *co, short axis, CurveDeform *c
cent[2]= 0.0;
index= 2;
}
- /* to be sure */
+ /* to be sure, mostly after file load */
if(cu->path==NULL) {
- calc_curvepath(par);
+ makeDispListCurveTypes(par, 0);
if(cu->path==NULL) return; // happens on append...
}
/* options */