Partially fix 1678141: value.h wasn't including OpenEXR/half.h although it uses symbo...
[synfig.git] / synfig-core / trunk / src / synfig / target_scanline.cpp
index 24a18a4..0d04c1c 100644 (file)
@@ -50,7 +50,7 @@ using namespace synfig;
 
 #define PIXEL_RENDERING_LIMIT 1500000
 
-#define USE_PIXELRENDERING_LIMIT 0
+#define USE_PIXELRENDERING_LIMIT 1
 
 /* === G L O B A L S ======================================================= */
 
@@ -124,7 +124,10 @@ synfig::Target_Scanline::render(ProgressCallback *cb)
        assert(canvas);
        curr_frame_=0;
 
-       init();
+       if( !init() ){
+               if(cb) cb->error(_("Target initialisation failure"));
+               return false;
+       }
        
        // If the description's end frame is equal to
        // the start frame, then it is assumed that we