[gnome-getting-started-docs] undo some rebrandning that slipped through.



commit d3180f03f0d787f7b12a9e38a33f0a51f221ae81
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Dec 11 08:44:09 2012 +0100

    undo some rebrandning that slipped through.
    
    - oops, I'm a messy person.

 animation/gnome-launching-applications.py |   14 --------------
 animation/gnome-responding-to-messages.py |   14 --------------
 animation/gnome-task-switching.py         |   14 --------------
 animation/gnome-windows-and-workspaces.py |   14 --------------
 4 files changed, 0 insertions(+), 56 deletions(-)
---
diff --git a/animation/gnome-launching-applications.py b/animation/gnome-launching-applications.py
index e26895d..8ff3c46 100644
--- a/animation/gnome-launching-applications.py
+++ b/animation/gnome-launching-applications.py
@@ -22,19 +22,6 @@ def render(lang):
   else:
     print('already transcoded',transcodepath + webmfile)
 
-def brandificate():
-
-  worldgnome = bpy.data.worlds['World GNOME'] 
-  worldrhel = bpy.data.worlds['World RHEL']
-  font = bpy.data.fonts['Overpass-Reg']
-
-  for scene in bpy.data.scenes:
-    if (scene.world == worldgnome):
-      scene.world = worldrhel #replace background color
-  for bobj in bpy.data.objects:
-    #if (bobj.type == 'FONT' and bobj.get('branded')): #sadly doesn't work
-    if (bobj.type == 'FONT' and (bobj.name[:5]=='title')): #replace title font with Overpass Bold
-      bobj.data.font = font
   
 #translates strings and calls render
 def main():
@@ -52,7 +39,6 @@ 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="search"]').text
-    brandificate()
     render(lang)
     
 if __name__ == '__main__':
diff --git a/animation/gnome-responding-to-messages.py b/animation/gnome-responding-to-messages.py
index dd78f09..32e3738 100644
--- a/animation/gnome-responding-to-messages.py
+++ b/animation/gnome-responding-to-messages.py
@@ -23,20 +23,7 @@ def render(lang):
     os.system(transcodecmd)
   else:
     print('already transcoded',transcodepath + webmfile)
-  
-def brandificate():
-
-  worldgnome = bpy.data.worlds['World GNOME'] 
-  worldrhel = bpy.data.worlds['World RHEL']
-  font = bpy.data.fonts['Overpass-Reg']
 
-  for scene in bpy.data.scenes:
-    if (scene.world == worldgnome):
-      scene.world = worldrhel #replace background color
-  for bobj in bpy.data.objects:
-    #if (bobj.type == 'FONT' and bobj.get('branded')): #sadly doesn't work
-    if (bobj.type == 'FONT' and (bobj.name[:5]=='title')): #replace title font with Overpass Bold
-      bobj.data.font = font
       
 #translates strings and calls render
 def main():
@@ -55,7 +42,6 @@ def main():
     bpy.data.objects['typewriter2'].data.body = t[lang].find('t[ id="bubble.response2"]').text
     bpy.data.objects['typewriter3'].data.body = t[lang].find('t[ id="bubble.response3"]').text
     bpy.data.objects['user.mt.bubble'].data.body = bpy.data.objects['user'].data.body #needs to be left aligned :/
-    brandificate()
     render(lang)
     
 if __name__ == '__main__':
diff --git a/animation/gnome-task-switching.py b/animation/gnome-task-switching.py
index c4a90fd..f622c1e 100644
--- a/animation/gnome-task-switching.py
+++ b/animation/gnome-task-switching.py
@@ -32,19 +32,6 @@ def render(lang):
   else:
     print('already transcoded',transcodepath + webmfile)
 
-def brandificate():
-
-  worldgnome = bpy.data.worlds['World GNOME'] 
-  worldrhel = bpy.data.worlds['World RHEL']
-  font = bpy.data.fonts['Overpass-Reg']
-
-  for scene in bpy.data.scenes:
-    if (scene.world == worldgnome):
-      scene.world = worldrhel #replace background color
-  for bobj in bpy.data.objects:
-    #if (bobj.type == 'FONT' and bobj.get('branded')): #sadly doesn't work
-    if (bobj.type == 'FONT' and (bobj.name[:5]=='title')): #replace title font with Overpass Bold
-      bobj.data.font = font
 
 #translates strings and calls render
 def main():
@@ -61,7 +48,6 @@ 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="search2"]').text
-    brandificate()
     render(lang)
     
 if __name__ == '__main__':
diff --git a/animation/gnome-windows-and-workspaces.py b/animation/gnome-windows-and-workspaces.py
index a145367..15c95ac 100644
--- a/animation/gnome-windows-and-workspaces.py
+++ b/animation/gnome-windows-and-workspaces.py
@@ -22,20 +22,7 @@ def render(lang):
   else:
     print('already transcoded',transcodepath + webmfile)
 
-def brandificate():
 
-  worldgnome = bpy.data.worlds['World GNOME'] 
-  worldrhel = bpy.data.worlds['World RHEL']
-  font = bpy.data.fonts['Overpass-Reg']
-
-  for scene in bpy.data.scenes:
-    if (scene.world == worldgnome):
-      scene.world = worldrhel #replace background color
-  for bobj in bpy.data.objects:
-    #if (bobj.type == 'FONT' and bobj.get('branded')): #sadly doesn't work
-    if (bobj.type == 'FONT' and (bobj.name[:5]=='title')): #replace title font with Overpass Bold
-      bobj.data.font = font
-        
 #translates strings and calls render
 def main():
   global typewrite
@@ -50,7 +37,6 @@ def main():
     for textobj in t[lang].findall('t'):
       if textobj.get('id') in bpy.data.objects: #prelozit jestli existuje jako index
         bpy.data.objects[textobj.get('id')].data.body = textobj.text
-    brandificate()
     render(lang)
     
 if __name__ == '__main__':



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]