Experimental option to build blender as a python module, rather then blender embeddin...
[blender.git] / source / blender / editors / render / render_internal.c
index 17d05bed24a0cef587dddc313b297d2a4a5482a4..568d08d4c917b75592d8b68adeb9114b368f3e25 100644 (file)
@@ -800,7 +800,7 @@ void RENDER_OT_render(wmOperatorType *ot)
        ot->modal= screen_render_modal;
        ot->exec= screen_render_exec;
 
-       ot->poll= ED_operator_screenactive;
+       /*ot->poll= ED_operator_screenactive;*/ /* this isnt needed, causes failer in background mode */
 
        RNA_def_boolean(ot->srna, "animation", 0, "Animation", "Render files from the animation range of this scene");
        RNA_def_boolean(ot->srna, "write_still", 0, "Write Image", "Save rendered the image to the output path (used only when animation is disabled)");