ayon-core/pype/plugins/maya/create/create_review.py
Toke Stuart Jepsen ce4466b82d Merge branch '2.x/develop' into 2.x/feature/maya_isolate_view
# Conflicts:
#	pype/plugins/maya/create/create_review.py
2020-08-17 15:33:16 +01:00

29 lines
779 B
Python

from collections import OrderedDict
import avalon.maya
from pype.hosts.maya import lib
class CreateReview(avalon.maya.Creator):
"""Single baked camera"""
name = "reviewDefault"
label = "Review"
family = "review"
icon = "video-camera"
defaults = ['Main']
keepImages = False
isolate = False
def __init__(self, *args, **kwargs):
super(CreateReview, self).__init__(*args, **kwargs)
# get basic animation data : start / end / handles / steps
data = OrderedDict(**self.data)
animation_data = lib.collect_animation_data()
for key, value in animation_data.items():
data[key] = value
data["isolate"] = self.isolate
data["keepImages"] = self.keepImages
self.data = data