Revision: 28259 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28259 Author: schlaile Date: 2010-04-18 15:25:51 +0200 (Sun, 18 Apr 2010)
Log Message: ----------- Applied: [#21390] Sequencer: Shifted frames on Time Flip/Flip Backwards thanks to Koen Ribus(kori) for the patch. Modified Paths: -------------- trunk/blender/source/blender/blenkernel/intern/sequencer.c Modified: trunk/blender/source/blender/blenkernel/intern/sequencer.c =================================================================== --- trunk/blender/source/blender/blenkernel/intern/sequencer.c 2010-04-18 13:05:17 UTC (rev 28258) +++ trunk/blender/source/blender/blenkernel/intern/sequencer.c 2010-04-18 13:25:51 UTC (rev 28259) @@ -1024,7 +1024,7 @@ /*reverse frame in this sequence */ if(cfra <= seq->start) nr= seq->len-1; else if(cfra >= seq->start+seq->len-1) nr= 0; - else nr= (seq->start + seq->len) - cfra; + else nr= (seq->start + seq->len - 1) - cfra; } else { if(cfra <= seq->start) nr= 0; else if(cfra >= seq->start+seq->len-1) nr= seq->len-1; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs