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-10-17 23:32:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-10-17 23:32:28 +0400
commit69c6a33ba1a064aa13da3ef6a74b310620cfafd5 (patch)
tree69eb569feb0f03d912391651b7fde6c66c43be98 /source/blender/editors/animation/anim_filter.c
parent484bf962c66a5ffb7592cf8e4b462dbfb8d21214 (diff)
wrap the mouse within the region while grabbing so on release the current view never changes and less likelyhood of loosing the cursor when running blender on 2+ screens. (assuming the 3d view isnt stretched over both)
Diffstat (limited to 'source/blender/editors/animation/anim_filter.c')
-rw-r--r--source/blender/editors/animation/anim_filter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c
index aa1bc108176..96bdb9aa848 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -78,6 +78,7 @@
#include "BKE_animsys.h"
#include "BKE_action.h"
+#include "BKE_fcurve.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_key.h"
@@ -669,7 +670,7 @@ bAnimListElem *make_new_animlistelem (void *data, short datatype, void *owner, s
* then free the MEM_alloc'd string
*/
if (rna_path) {
- ale->key_data= list_find_fcurve(&act->curves, rna_path, 0);
+ ale->key_data= (void *)list_find_fcurve(&act->curves, rna_path, 0);
MEM_freeN(rna_path);
}
}