rename object.matrix --> matrix_world
added object.matrix_local (parent relative matrix)
This commit is contained in:
2010-07-03 17:39:29 +00:00
parent 7a495a12e1
commit 9a85435e96
13 changed files with 70 additions and 34 deletions

View File

@@ -403,7 +403,7 @@ def write(filepath, objects, scene,
# XXX debug print
print(ob_main.name, 'has', len(obs), 'dupli children')
else:
obs = [(ob_main, ob_main.matrix)]
obs = [(ob_main, ob_main.matrix_world)]
for ob, ob_mat in obs: