~ubuntu-branches/ubuntu/intrepid/blender/intrepid-updates

« back to all changes in this revision

Viewing changes to release/scripts/renameobjectbyblock.py

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2008-08-08 02:45:40 UTC
  • mfrom: (12.1.14 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080808024540-kkjp7ekfivzhuw3l
Tags: 2.46+dfsg-4
* Fix python syntax warning in import_dxf.py, which led to nasty output
  in installation/upgrade logs during byte-compilation, using a patch
  provided by the script author (Closes: #492280):
   - debian/patches/45_fix_python_syntax_warning

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
"""
9
9
 
10
10
__author__ = "Jean-Michel Soler (jms)"
11
 
__url__ = ("blender", "elysiun",
 
11
__url__ = ("blender", "blenderartists.org",
12
12
"Script's homepage, http://jmsoler.free.fr/didacticiel/blender/tutor/cpl_renameobjectgui.htm",
13
13
"Communicate problems and errors, http://www.zoo-logique.org/3D.Blender/newsportal/thread.php?group=3D.Blender")
14
14
__version__ = "233"
47
47
 
48
48
 
49
49
 
50
 
O = Scene.GetCurrent().getChildren()
 
50
O = list(Scene.GetCurrent().objects)
51
51
stringlist=[[],[]]
52
52
 
53
53
 
55
55
     global O
56
56
     
57
57
     #O = Object.Get()
58
 
     O= Scene.GetCurrent().getChildren()
 
58
     O = list(Scene.GetCurrent().objects)
59
59
     #param= [ [p.name, i, p.getType()] for i, p in enumerate(O) ]
60
60
     
61
61
     PARAM={}