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:
authorCampbell Barton <ideasman42@gmail.com>2009-12-24 22:50:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-24 22:50:43 +0300
commitbbe13e7823d916523ed9434023dee34f34d6cb8e (patch)
tree5e2fe2c848337d59f028b12a5afc3ea989dfa43f /source/blender/editors/animation/keyframes_edit.c
parent4dd3e6c36070e64d8b1d784a34d9881ae2c3eed8 (diff)
* register operators like other classes
* operators now return sets (converted into flags) * can't remove bpy_operator_wrap.c since macro's still use the custom register funcs
Diffstat (limited to 'source/blender/editors/animation/keyframes_edit.c')
-rw-r--r--source/blender/editors/animation/keyframes_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframes_edit.c b/source/blender/editors/animation/keyframes_edit.c
index 9476aa479a7..413f01590ed 100644
--- a/source/blender/editors/animation/keyframes_edit.c
+++ b/source/blender/editors/animation/keyframes_edit.c
@@ -562,7 +562,7 @@ short bezt_to_cfraelem(BeztEditData *bed, BezTriple *bezt)
/* used to remap times from one range to another
* requires: bed->data = BeztEditCD_Remap
*/
-short bezt_remap_times(BeztEditData *bed, BezTriple *bezt)
+void bezt_remap_times(BeztEditData *bed, BezTriple *bezt)
{
BeztEditCD_Remap *rmap= (BeztEditCD_Remap*)bed->data;
const float scale = (rmap->newMax - rmap->newMin) / (rmap->oldMax - rmap->oldMin);