Add bakeToWorldSpace attribute to camera creator

This commit is contained in:
aardschok 2017-09-12 18:54:44 +02:00
parent c6ce4a6b30
commit 79eda95015

View file

@ -19,4 +19,8 @@ class CreateCamera(avalon.maya.Creator):
for key, value in animation_data.items():
data[key] = value
# Bake to world space by default, when this is False it will also
# include the parent hierarchy in the baked results
data['bakeToWorldSpace'] = True
self.data = data