[gnome-getting-started-docs] tweak response
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-getting-started-docs] tweak response
- Date: Tue, 30 Oct 2012 14:10:08 +0000 (UTC)
commit bb9838f54ef048a267f5b03a4a6676b68fd8b219
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Oct 30 15:09:54 2012 +0100
tweak response
animation/gnome-responding-to-messages.blend | Bin 1686552 -> 2178748 bytes
animation/gnome-responding-to-messages.py | 7 +++++++
.../C/figures/responding-to-messages-0001-0718.ogg | Bin 3034583 -> 0 bytes
3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/animation/gnome-responding-to-messages.blend b/animation/gnome-responding-to-messages.blend
index 2e2869a..cc18c5d 100644
Binary files a/animation/gnome-responding-to-messages.blend and b/animation/gnome-responding-to-messages.blend differ
diff --git a/animation/gnome-responding-to-messages.py b/animation/gnome-responding-to-messages.py
index c28f64e..e6275de 100644
--- a/animation/gnome-responding-to-messages.py
+++ b/animation/gnome-responding-to-messages.py
@@ -3,13 +3,19 @@ from xml.etree import ElementTree as ET
def typewriteit(scene):
typewrite = bpy.data.objects['typewriter'].data.body
+ typewrite2 = bpy.data.objects['typewriter2'].data.body
#psani zacina v sekvenci na 152
if bpy.context.scene.frame_current >= 152:
i = int((bpy.context.scene.frame_current-152)/2)
else:
i = 0
+ if bpy.context.scene.frame_current >= 640:
+ j = int((bpy.context.scene.frame_current-640)/2)
+ else:
+ j = 0
#print(typewrite, i, typewrite[:i])
bpy.data.objects['bubble.response'].data.body = typewrite[:i]
+ bpy.data.objects['mt.bubble.response'].data.body = typewrite2[:j]
def render(lang):
#bpy.context.scene.render.resolution_percentage =
@@ -39,6 +45,7 @@ def main():
if textobj.get('id') in bpy.data.objects: #prelozit jestli existuje jako index
bpy.data.objects[textobj.get('id')].data.body = textobj.text
bpy.data.objects['typewriter'].data.body = t[lang].find('t[ id="bubble.response"]').text
+ bpy.data.objects['typewriter2'].data.body = t[lang].find('t[ id="mt.bubble.response"]').text
bpy.data.objects['user.mt.bubble'].data.body = bpy.data.objects['user'].data.body #needs to be left aligned :/
render(lang)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]