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>2008-12-19 21:48:41 +0300
committerTon Roosendaal <ton@blender.org>2008-12-19 21:48:41 +0300
commit12ad72ba8f4ab598c558428567707413e208eac7 (patch)
tree0de8a605541e28a91510af9f8441d9f848307bc8 /source/blender/blenkernel/intern/anim.c
parenta3d3619898f541b989bedca67ffc8592892ac4dc (diff)
2.5
Two bugfixes: - new WM_error() needed 'struct' in definition - fixed crash rrors reading files with curves.
Diffstat (limited to 'source/blender/blenkernel/intern/anim.c')
-rw-r--r--source/blender/blenkernel/intern/anim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c
index aeddabf8c1b..a32737762be 100644
--- a/source/blender/blenkernel/intern/anim.c
+++ b/source/blender/blenkernel/intern/anim.c
@@ -99,7 +99,8 @@ void calc_curvepath(Object *ob)
if(ob==NULL || ob->type != OB_CURVE) return;
cu= ob->data;
//XXX if(ob==G.obedit) nu= editNurb.first;
- //XXX else nu= cu->nurb.first;
+ //XXX else
+ nu= cu->nurb.first;
if(cu->path) free_path(cu->path);
cu->path= NULL;