Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-12-13 00:13:07 +0300
committerTon Roosendaal <ton@blender.org>2004-12-13 00:13:07 +0300
commita9128a5109fad96eb9537ac2096d8f7328291dbd (patch)
treefdb49ceb675b16ab6298b74ce264624256632070 /source/blender/src/editsound.c
parentd422cbb54467a012e675c6fc820a6d5b6900b6e9 (diff)
Bug fix, after irc report sk1p:
frame-sliding (LMB) in action, nla, sound and ipo window went into very tight while loop, causing cpu to choke. Added nice idle. Bug fix, found self while testing: - relative.blend, editmode - delete part, exit editmode - enter editmode, undo twice, exit editmode -> crash The trick to copy 'old' locations of vertices to keys isnt undo-resistant yet. This fix at least doesnt crash, but copying doesnt work when undo-ing back to previous editmode session (indices just differ from current mesh...)
Diffstat (limited to 'source/blender/src/editsound.c')
-rw-r--r--source/blender/src/editsound.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/editsound.c b/source/blender/src/editsound.c
index b47bf4c580e..fc2ff3c3fb4 100644
--- a/source/blender/src/editsound.c
+++ b/source/blender/src/editsound.c
@@ -85,6 +85,9 @@
#include "SYS_System.h"
+#include "PIL_time.h"
+
+
/* this might move to the external header */
void* sound_get_libraryinterface(void);
@@ -145,6 +148,7 @@ void winqreadsoundspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
update_for_newframe();
force_draw_plus(SPACE_VIEW3D, 1);
}
+ else PIL_sleep_ms(30);
} while(get_mbut() & mousebut);
ssound->flag &= ~SND_CFRA_NUM;