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-10-10 19:29:39 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-10-10 19:29:39 +0400
commit5f0e32fe6c31e7480dac099049aa6d6bfe14080d (patch)
tree098b4bc7ea28bf4991c6131cea32c08f2189504d /source/blender/editors/space_clip/space_clip.c
parentf881ff0826422982bacada0b8b32988e3e36a047 (diff)
Camera tracking integration
=========================== - Fixed movie clip cache drawing -- it used to draw both distorted and undistorted cached frames. - Undistort markers position in clip editor when using undistorted rendering. Can be noticeable slower when displaying paths. - Display proper image in track preview widget when using undistorted rendering. - Do not mark scoped as dirty when not in tracking mode.
Diffstat (limited to 'source/blender/editors/space_clip/space_clip.c')
-rw-r--r--source/blender/editors/space_clip/space_clip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index 2407d6a7b25..4a17d5a7dc0 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -75,6 +75,9 @@ static void clip_scopes_tag_refresh(ScrArea *sa)
SpaceClip *sc= (SpaceClip *)sa->spacedata.first;
ARegion *ar;
+ if(sc->mode!=SC_MODE_TRACKING)
+ return;
+
/* only while proeprties are visible */
for (ar=sa->regionbase.first; ar; ar=ar->next) {
if (ar->regiontype == RGN_TYPE_UI && ar->flag & RGN_FLAG_HIDDEN)