[aravis] gc_converter: fix a cut'n paste mistake.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] gc_converter: fix a cut'n paste mistake.
- Date: Tue, 31 Aug 2010 19:34:52 +0000 (UTC)
commit b8334620735bffb505de046399bbe3ebc4e91646
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Tue Aug 31 21:32:49 2010 +0200
gc_converter: fix a cut'n paste mistake.
The code assigned incorrectly a variable to a FROM expression.
This fixes exposure setting on Basler Sca1400 camera.
src/arvgcconverter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvgcconverter.c b/src/arvgcconverter.c
index 9c7fb53..008ad5d 100644
--- a/src/arvgcconverter.c
+++ b/src/arvgcconverter.c
@@ -218,7 +218,7 @@ _update_to_variables (ArvGcConverter *gc_converter)
variable_infos->name,
arv_gc_integer_get_value (ARV_GC_INTEGER (node)));
else if (arv_gc_node_get_value_type (node) == G_TYPE_DOUBLE)
- arv_evaluator_set_double_variable (gc_converter->formula_from,
+ arv_evaluator_set_double_variable (gc_converter->formula_to,
variable_infos->name,
arv_gc_float_get_value (ARV_GC_FLOAT (node)));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]