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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-08-03 23:05:58 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-08-03 23:05:58 +0400
commitf56590a5f5b32a2b924eb4ed914794657f2d145b (patch)
treef3509ce9779f345b7712b7607e3e5c78014d2c40 /source/blender/editors/space_clip/space_clip.c
parenta28867e172e93e6e061e63694b6f414ddf518ed0 (diff)
Camera tracking integration
=========================== - Fixed crash when Display->Stable is enabled before loading clip. - Fixed bug with location influence on stabilization data.
Diffstat (limited to 'source/blender/editors/space_clip/space_clip.c')
-rw-r--r--source/blender/editors/space_clip/space_clip.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index 597f0c32b60..c880ffb3b08 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -88,9 +88,12 @@ static void clip_stabilization_tag_refresh(ScrArea *sa)
{
SpaceClip *sc= (SpaceClip *)sa->spacedata.first;
MovieClip *clip= ED_space_clip(sc);
- MovieTrackingStabilization *stab= &clip->tracking.stabilization;
- stab->ok= 0;
+ if(clip) {
+ MovieTrackingStabilization *stab= &clip->tracking.stabilization;
+
+ stab->ok= 0;
+ }
}
/* ******************** default callbacks for clip space ***************** */