svn merge -r 16060:16222 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / src / gpencil.c
index 9b250fc3ec07f00add5406d2d3b3ff2c56baec9c..0132c46526c4cc00a6854f78a4fb5e5da2c69766 100644 (file)
@@ -821,14 +821,14 @@ static void gp_session_initpaint (tGPsdata *p)
                        }
                }
                        break;  
-               case SPACE_IMAGE:
+               case SPACE_SIMA:
                {
                        SpaceImage *sima= curarea->spacedata.first;
                        
                        /* set the current area */
                        p->sa= curarea;
                        p->v2d= &sima->v2d;
-                       //p->ibuf= BKE_image_get_ibuf(sima->image, &sima->iuser);
+                       p->ibuf= BKE_image_get_ibuf(sima->image, &sima->iuser);
                }
                        break;
                /* unsupported views */