示例#1
0
def togRecording():
	recSound.play()
	if(file != None):
		newthread = viz.director(hf_playback.saveUpdateLoop, avatar, file)
		vizact.onkeydown(viz.KEY_ESCAPE, hf_playback.cleanup, file, newthread)
	touchcube.wakeTouchCubes()
	hf_playback.toggleRecording()
示例#2
0
def togRecording():
	recSound.play()
#	global filePointerForAvatarRecording, filePointerForRuntimeScoringRecording
#	if(filePointerForAvatarRecording != None):
		#newthread = viz.director(hf_playback.saveUpdateLoop, avatar, filePointerForAvatarRecording)
#		hf_playback.registerTimerForSavingAvatarData(filePointerForAvatarRecording)
	recording = hf_playback.toggleRecording()
	if recording:
		touchcube.wakeTouchCubes()