[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11084] branches/soc-2007-hcube/source/ blender/src/drawseq.c: Fixed a segfault bug.

Csaba Hruska csaba.hruska at gmail.com
Wed Jun 27 15:35:50 CEST 2007


Revision: 11084
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11084
Author:   hcube
Date:     2007-06-27 15:35:49 +0200 (Wed, 27 Jun 2007)

Log Message:
-----------
Fixed a segfault bug.

Modified Paths:
--------------
    branches/soc-2007-hcube/source/blender/src/drawseq.c

Modified: branches/soc-2007-hcube/source/blender/src/drawseq.c
===================================================================
--- branches/soc-2007-hcube/source/blender/src/drawseq.c	2007-06-27 02:44:01 UTC (rev 11083)
+++ branches/soc-2007-hcube/source/blender/src/drawseq.c	2007-06-27 13:35:49 UTC (rev 11084)
@@ -302,8 +302,8 @@
 	
     // by hcube
 	//audio_makestream(seq->sound);
-	//if(seq->sound==NULL || seq->sound->stream==NULL) return;
-	if(seq->sound==NULL) return;
+	if(seq->sound==NULL || seq->sound->stream==NULL) return;
+	//if(seq->sound==NULL) return;
 	
 	if (seq->flag & SEQ_MUTE) glColor3ub(0x70, 0x80, 0x80); else glColor3ub(0x70, 0xc0, 0xc0);
 	





More information about the Bf-blender-cvs mailing list