Revision: 46665
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46665
Author:   nazgul
Date:     2012-05-15 14:01:02 +0000 (Tue, 15 May 2012)
Log Message:
-----------
Tomato: fixed crash when using manual calibration without GP strokes done

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

Modified: branches/soc-2011-tomato/source/blender/editors/space_clip/clip_draw.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/space_clip/clip_draw.c      
2012-05-15 13:46:50 UTC (rev 46664)
+++ branches/soc-2011-tomato/source/blender/editors/space_clip/clip_draw.c      
2012-05-15 14:01:02 UTC (rev 46665)
@@ -1323,8 +1323,7 @@
                gpd = clip->gpd;
        }
 
-
-       if (sc->flag & SC_MANUAL_CALIBRATION) {
+       if (sc->flag & SC_MANUAL_CALIBRATION && gpd) {
                bGPDlayer *layer = gpd->layers.first;
 
                while (layer) {

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

Reply via email to