[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45055] trunk/blender/intern/audaspace/ intern/AUD_SequencerReader.cpp: Fix for [#30499] video sequencer crashes when moving around within a sequence.

Joerg Mueller nexyon at gmail.com
Wed Mar 21 10:04:45 CET 2012


Revision: 45055
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45055
Author:   nexyon
Date:     2012-03-21 09:04:34 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
Fix for [#30499] video sequencer crashes when moving around within a sequence.

Modified Paths:
--------------
    trunk/blender/intern/audaspace/intern/AUD_SequencerReader.cpp

Modified: trunk/blender/intern/audaspace/intern/AUD_SequencerReader.cpp
===================================================================
--- trunk/blender/intern/audaspace/intern/AUD_SequencerReader.cpp	2012-03-21 08:38:34 UTC (rev 45054)
+++ trunk/blender/intern/audaspace/intern/AUD_SequencerReader.cpp	2012-03-21 09:04:34 UTC (rev 45055)
@@ -49,6 +49,9 @@
 
 void AUD_SequencerReader::seek(int position)
 {
+	if(position < 0)
+		return;
+
 	m_position = position;
 
 	for(AUD_HandleIterator it = m_handles.begin(); it != m_handles.end(); it++)




More information about the Bf-blender-cvs mailing list