This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into enhancement/OP-636…
…0_Maya-multiple-cameras-publish
- Loading branch information
Showing
35 changed files
with
1,708 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
openpype/hosts/maya/plugins/create/create_unreal_yeticache.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
from openpype.hosts.maya.api import ( | ||
lib, | ||
plugin | ||
) | ||
from openpype.lib import NumberDef | ||
|
||
|
||
class CreateYetiCache(plugin.MayaCreator): | ||
"""Output for procedural plugin nodes of Yeti """ | ||
|
||
identifier = "io.openpype.creators.maya.unrealyeticache" | ||
label = "Unreal - Yeti Cache" | ||
family = "yeticacheUE" | ||
icon = "pagelines" | ||
|
||
def get_instance_attr_defs(self): | ||
|
||
defs = [ | ||
NumberDef("preroll", | ||
label="Preroll", | ||
minimum=0, | ||
default=0, | ||
decimals=0) | ||
] | ||
|
||
# Add animation data without step and handles | ||
defs.extend(lib.collect_animation_defs()) | ||
remove = {"step", "handleStart", "handleEnd"} | ||
defs = [attr_def for attr_def in defs if attr_def.key not in remove] | ||
|
||
# Add samples after frame range | ||
defs.append( | ||
NumberDef("samples", | ||
label="Samples", | ||
default=3, | ||
decimals=0) | ||
) | ||
|
||
return defs |
Oops, something went wrong.