[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16522] trunk/blender/source/blender/src/ keyframing.c: fix for what looks like simple mistake, function wasnt returning any values (compiler warning) and the variable being checked to return a value was never assigned.
Campbell Barton
ideasman42 at gmail.com
Sun Sep 14 19:20:00 CEST 2008
Revision: 16522
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16522
Author: campbellbarton
Date: 2008-09-14 19:19:59 +0200 (Sun, 14 Sep 2008)
Log Message:
-----------
fix for what looks like simple mistake, function wasnt returning any values (compiler warning) and the variable being checked to return a value was never assigned.
Modified Paths:
--------------
trunk/blender/source/blender/src/keyframing.c
Modified: trunk/blender/source/blender/src/keyframing.c
===================================================================
--- trunk/blender/source/blender/src/keyframing.c 2008-09-14 16:22:03 UTC (rev 16521)
+++ trunk/blender/source/blender/src/keyframing.c 2008-09-14 17:19:59 UTC (rev 16522)
@@ -702,9 +702,11 @@
}
/* as the function hasn't returned yet, try reading from poin */
- get_context_ipo_poin(id, blocktype, actname, constname, icu, &vartype);
+ point= get_context_ipo_poin(id, blocktype, actname, constname, icu, &vartype);
if (poin)
return read_ipo_poin(poin, vartype);
+ else
+ return 0.0;
}
More information about the Bf-blender-cvs
mailing list