Exemplo n.º 1
0
def GetValueAtTime(channel, time):
	clipstart = sessionutils.getCurrentShot().GetStartTime()
	start = channel.FindOwnerClipForChannel(sessionutils.getCurrentShot()).GetStartTime()
	return channel.GetLog().GetValue((time - clipstart) - start)
Exemplo n.º 2
0
def SetValueAtTime(channel, time, value):
	clipstart = sessionutils.getCurrentShot().GetStartTime()
	start = channel.FindOwnerClipForChannel(sessionutils.getCurrentShot()).GetStartTime()
	channel.GetLog().SetKey((time - clipstart) - start, value);
#end