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