mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Make keepImages a class attribute
This commit is contained in:
parent
14093da98f
commit
0b48d44729
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ class CreateReview(avalon.maya.Creator):
|
||||||
family = "review"
|
family = "review"
|
||||||
icon = "video-camera"
|
icon = "video-camera"
|
||||||
defaults = ['Main']
|
defaults = ['Main']
|
||||||
|
keepImages = False
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(CreateReview, self).__init__(*args, **kwargs)
|
super(CreateReview, self).__init__(*args, **kwargs)
|
||||||
|
|
@ -21,6 +22,6 @@ class CreateReview(avalon.maya.Creator):
|
||||||
for key, value in animation_data.items():
|
for key, value in animation_data.items():
|
||||||
data[key] = value
|
data[key] = value
|
||||||
|
|
||||||
data["keepImages"] = False
|
data["keepImages"] = self.keepImages
|
||||||
|
|
||||||
self.data = data
|
self.data = data
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue