mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Explicit optional isolate attribute.
This commit is contained in:
parent
0b6ef8c6f5
commit
e9f4d19890
3 changed files with 4 additions and 2 deletions
|
|
@ -21,4 +21,6 @@ class CreateReview(avalon.maya.Creator):
|
|||
for key, value in animation_data.items():
|
||||
data[key] = value
|
||||
|
||||
data["isolate"] = False
|
||||
|
||||
self.data = data
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ class ExtractPlayblast(pype.api.Extractor):
|
|||
|
||||
# Isolate view is requested by having objects in the set besides a
|
||||
# camera.
|
||||
if len(instance.data["setMembers"]) > 1:
|
||||
if instance.data.get("isolate"):
|
||||
preset["isolate"] = instance.data["setMembers"]
|
||||
|
||||
with maintained_time():
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ class ExtractThumbnail(pype.api.Extractor):
|
|||
|
||||
# Isolate view is requested by having objects in the set besides a
|
||||
# camera.
|
||||
if len(instance.data["setMembers"]) > 1:
|
||||
if instance.data.get("isolate"):
|
||||
preset["isolate"] = instance.data["setMembers"]
|
||||
|
||||
with maintained_time():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue