Revision: 37866
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37866
Author:   nazgul
Date:     2011-06-27 14:45:50 +0000 (Mon, 27 Jun 2011)
Log Message:
-----------
Camera tracking integration
===========================

Fixed stypid typo which was lead to crash when switching to clip editor.

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/editors/space_clip/space_clip.c

Modified: 
branches/soc-2011-tomato/source/blender/editors/space_clip/space_clip.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/space_clip/space_clip.c     
2011-06-27 14:34:58 UTC (rev 37865)
+++ branches/soc-2011-tomato/source/blender/editors/space_clip/space_clip.c     
2011-06-27 14:45:50 UTC (rev 37866)
@@ -369,7 +369,7 @@
 
        /* if trcking is in progress, we should sunchronize framenr from 
clipuser
           so latest tracked frame would be shown */
-       if(clip->tracking_context)
+       if(clip && clip->tracking_context)
                BKE_tracking_sync_user(&sc->user, clip->tracking_context);
 
        if(sc->flag&SC_LOCK_SELECTION)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to