From 79eda9501530be994282d3da7085b37b461d1854 Mon Sep 17 00:00:00 2001 From: aardschok Date: Tue, 12 Sep 2017 18:54:44 +0200 Subject: [PATCH] Add `bakeToWorldSpace` attribute to camera creator --- colorbleed/plugins/maya/create/colorbleed_camera.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/colorbleed/plugins/maya/create/colorbleed_camera.py b/colorbleed/plugins/maya/create/colorbleed_camera.py index 749945caf3..0029380d34 100644 --- a/colorbleed/plugins/maya/create/colorbleed_camera.py +++ b/colorbleed/plugins/maya/create/colorbleed_camera.py @@ -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