Blender Git Commit Log

Git Commits -> Revision 4b0007c

Revision 4b0007c by Nicholas Bishop (master)
January 15, 2015, 13:01 (GMT)
Prevent waveform drawing from continually retrying bad files

If sound_read_waveform() cannot read the file (i.e. info.length is
zero), set the sound's waveform to a valid waveform of zero
length. This indicates that reading the waveform is done so that it
doesn't get tried over and over again.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D988

Commit Details:

Full Hash: 4b0007cf821caa0f51b16275ec011949de318c89
Parent Commit: b41ce0d
Lines Changed: +29, -18

1 Modified Path:

/source/blender/blenkernel/intern/sound.c (+29, -18) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021