#define MAX_DEPTH 10
+#define SYNFIG_CLIP_PASTECANVAS
+
//#ifdef __APPLE__
-//#define SYNFIG_NO_CLIP
+//#undef SYNFIG_CLIP_PASTECANVAS
//#endif
/* === C L A S S E S ======================================================= */
blend_method=Color::BLEND_STRAIGHT;
}
-#ifndef SYNFIG_NO_CLIP
+#ifdef SYNFIG_CLIP_PASTECANVAS
{
//synfig::info("PasteCanv Clip");
Rect area(desc.get_rect()&full_bounding_rect);
pastesurface.blit_to(apen);
}
-#else
+#else // SYNFIG_CLIP_PASTECANVAS
{
Surface pastesurface;
pastesurface.blit_to(apen);
}
-#endif
+#endif // SYNFIG_CLIP_PASTECANVAS
if(cb && !cb->amount_complete(10000,10000)) return false;