[gimp-gap/gap-2-8] fixed bug movepath (wron FromFrame value) at load from XML settings in gap-2-8 branch



commit 563f9fc19812db1f9b613b869ffc8c12e6a44eb2
Author: Wolfgang Hofer <wolfgangh svn gnome org>
Date:   Thu May 14 14:13:12 2015 +0200

    fixed bug movepath (wron FromFrame value) at load from XML settings in gap-2-8 branch

 ChangeLog            |    7 +++++++
 gap/gap_mov_dialog.c |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index cb71769..51c7e83 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
 2015-05-14 Wolfgang Hofer <hof gimp org>
+
+- fixed bug when loading Movepath from XML file
+  (the FromFrames value was set incorrect with the toFrames value)
+  
+ * gap_mov_dialog.c
+
+2015-05-14 Wolfgang Hofer <hof gimp org>
  - applied (just the missing parts) provided by patch attached to bugreport #749290
    to fix the map object iterator for use with GIMP-2.8.x releases
 
diff --git a/gap/gap_mov_dialog.c b/gap/gap_mov_dialog.c
index 2ceff94..b72964d 100755
--- a/gap/gap_mov_dialog.c
+++ b/gap/gap_mov_dialog.c
@@ -3633,7 +3633,7 @@ p_load_points(char *filename, t_mov_gui_stuff *mgp)
                                     , mgp->ainfo_ptr->first_frame_nr
                                     , mgp->ainfo_ptr->last_frame_nr
                                     );
-          pvals->dst_range_start = CLAMP(pvals->dst_range_end
+          pvals->dst_range_start = CLAMP(pvals->dst_range_start
                                     , mgp->ainfo_ptr->first_frame_nr
                                     , mgp->ainfo_ptr->last_frame_nr
                                     );


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]