Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek Skorupa <bartekskorupa@bartekskorupa.com>2011-11-01 13:23:49 +0400
committerBartek Skorupa <bartekskorupa@bartekskorupa.com>2011-11-01 13:23:49 +0400
commit2cbfb0e2a877c5a1c3d8450a777edc26b314a343 (patch)
tree9a4b08ac304a7115009fabf1a9e1bc335d0ce2a9 /io_export_after_effects.py
parent943de14ecd628df9131a6c4e50dc02577b21f608 (diff)
prefix was placed at the end of name instead being placed in front. Fixed it.
Diffstat (limited to 'io_export_after_effects.py')
-rw-r--r--io_export_after_effects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_export_after_effects.py b/io_export_after_effects.py
index 34795063..babe1f84 100644
--- a/io_export_after_effects.py
+++ b/io_export_after_effects.py
@@ -87,10 +87,10 @@ def get_selected(context, prefix):
# 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