[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2554] trunk/py/scripts/addons/ io_export_after_effects.py: prefix was placed at the end of name instead being placed in front.
Bartek Skorupa
bartekskorupa at bartekskorupa.com
Tue Nov 1 10:23:49 CET 2011
Revision: 2554
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2554
Author: bartekskorupa
Date: 2011-11-01 09:23:49 +0000 (Tue, 01 Nov 2011)
Log Message:
-----------
prefix was placed at the end of name instead being placed in front. Fixed it.
Modified Paths:
--------------
trunk/py/scripts/addons/io_export_after_effects.py
Modified: trunk/py/scripts/addons/io_export_after_effects.py
===================================================================
--- trunk/py/scripts/addons/io_export_after_effects.py 2011-11-01 09:20:43 UTC (rev 2553)
+++ trunk/py/scripts/addons/io_export_after_effects.py 2011-11-01 09:23:49 UTC (rev 2554)
@@ -87,10 +87,10 @@
# convert names of objects to avoid errors in AE. Add user specified prefix
def convert_name(is_comp, ob, prefix):
if is_comp:
- ob_name = ob + prefix
+ ob_name = prefix + ob
ob_name = ob_name.replace('"', "_")
else:
- ob_name = ob.name + prefix
+ ob_name = prefix + ob.name
if ob_name[0].isdigit():
ob_name = "_" + ob_name
More information about the Bf-extensions-cvs
mailing list