mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #3569 from moonyuet/develop
This commit is contained in:
commit
792c10cc40
1 changed files with 8 additions and 0 deletions
|
|
@ -101,6 +101,13 @@ class ExtractThumbnail(openpype.api.Extractor):
|
||||||
if preset.pop("isolate_view", False) and instance.data.get("isolate"):
|
if preset.pop("isolate_view", False) and instance.data.get("isolate"):
|
||||||
preset["isolate"] = instance.data["setMembers"]
|
preset["isolate"] = instance.data["setMembers"]
|
||||||
|
|
||||||
|
# Show or Hide Image Plane
|
||||||
|
image_plane = instance.data.get("imagePlane", True)
|
||||||
|
if "viewport_options" in preset:
|
||||||
|
preset["viewport_options"]["imagePlane"] = image_plane
|
||||||
|
else:
|
||||||
|
preset["viewport_options"] = {"imagePlane": image_plane}
|
||||||
|
|
||||||
with lib.maintained_time():
|
with lib.maintained_time():
|
||||||
# Force viewer to False in call to capture because we have our own
|
# Force viewer to False in call to capture because we have our own
|
||||||
# viewer opening call to allow a signal to trigger between
|
# viewer opening call to allow a signal to trigger between
|
||||||
|
|
@ -120,6 +127,7 @@ class ExtractThumbnail(openpype.api.Extractor):
|
||||||
|
|
||||||
_, thumbnail = os.path.split(playblast)
|
_, thumbnail = os.path.split(playblast)
|
||||||
|
|
||||||
|
|
||||||
self.log.info("file list {}".format(thumbnail))
|
self.log.info("file list {}".format(thumbnail))
|
||||||
|
|
||||||
if "representations" not in instance.data:
|
if "representations" not in instance.data:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue