Author: akv
Date: 2013-04-24 19:19:31 +0200 (Wed, 24 Apr 2013)
New Revision: 4360
Modified:
branches/4175-enfuse/src/rs-enfuse.c
Log:
Letting rs_enfuse() check for settigs in conf - currently only if we should use
align or not.
Modified: branches/4175-enfuse/src/rs-enfuse.c
===================================================================
--- branches/4175-enfuse/src/rs-enfuse.c 2013-04-24 17:02:05 UTC (rev
4359)
+++ branches/4175-enfuse/src/rs-enfuse.c 2013-04-24 17:19:31 UTC (rev
4360)
@@ -33,6 +33,7 @@
#include "rs-cache.h"
#include "gtk-progress.h"
#include "rs-metadata.h"
+#include "conf_interface.h"
gboolean has_align_image_stack ();
@@ -290,6 +291,9 @@
gfloat extend_step = 2.0;
gint boundingbox = 0;
+ gboolean align = DEFAULT_CONF_ENFUSE_ALIGN_IMAGES;
+ rs_conf_get_boolean_with_default(CONF_ENFUSE_ALIGN_IMAGES, &align,
DEFAULT_CONF_ENFUSE_ALIGN_IMAGES);
+
gchar *first = NULL;
gchar *parsed_filename = NULL;
gchar *temp_filename = g_strdup("/tmp/.rawstudio-temp.png");
@@ -341,7 +345,7 @@
gui_progress_advance_one(progress); /* 2 - after exported images */
GList *aligned_names = NULL;
- if (has_align_image_stack() && num_selected > 1 && quick == FALSE)
+ if (has_align_image_stack() && num_selected > 1 && quick == FALSE && align
== TRUE)
{
aligned_names = align_images(exported_names, align_options);
g_free(align_options);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit