Enabling dooglus' single threaded renderer workaround as default for windows to impro...
authorChris Norman <pxegeek@users.sourceforge.net>
Thu, 26 Nov 2009 05:48:52 +0000 (21:48 -0800)
committerChris Norman <pxegeek@users.sourceforge.net>
Thu, 26 Nov 2009 05:48:52 +0000 (21:48 -0800)
CPPFLAGS="-DSINGLE_THREADED $CPPFLAGS" to synbuild.conf

synfig-studio/src/gtkmm/app.cpp
synfig-studio/src/gtkmm/asyncrenderer.h

index 06671f9..79f9948 100644 (file)
@@ -1786,7 +1786,7 @@ App::reset_initial_window_configuration()
        synfigapp::Main::settings().set_value("pref.distance_system","pt");
        synfigapp::Main::settings().set_value("pref.use_colorspace_gamma","1");
 #ifdef SINGLE_THREADED
-       synfigapp::Main::settings().set_value("pref.single_threaded","0");
+       synfigapp::Main::settings().set_value("pref.single_threaded","1");
 #endif
        synfigapp::Main::settings().set_value("pref.restrict_radius_ducks","0");
        synfigapp::Main::settings().set_value("pref.resize_imported_images","0");
index 6678e4e..7d865fd 100644 (file)
 
 /* === M A C R O S ========================================================= */
 
-// uncomment to use a single thread, and hopefully get more stability
-// #define SINGLE_THREADED
+// uncomment define SINGLE_THREADED to use a single thread, and hopefully get more stability (dooglus) - changed to be default if using windows (Nov 2009 pixelgeek)
+#ifdef WIN32
+#define SINGLE_THREADED
+#endif
 #ifdef SINGLE_THREADED
 #  define single_threaded()    App::single_threaded
 #endif