mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
imroved data for creator of multiverse usd on animated parameters
This commit is contained in:
parent
1c58a3d1df
commit
9f83eec324
1 changed files with 7 additions and 5 deletions
|
|
@ -45,12 +45,14 @@ class CreateMultiverseUsd(plugin.Creator):
|
|||
self.data["timeVaryingTopology"] = False
|
||||
self.data["customMaterialNamespace"] = ''
|
||||
|
||||
animation_data = lib.collect_animation_data()
|
||||
|
||||
# The attributes below are about animated cache.
|
||||
self.data["writeTimeRange"] = False
|
||||
self.data["timeRangeNumTimeSamples"] = 0
|
||||
self.data["timeRangeSamplesSpan"] = 0.0
|
||||
|
||||
animation_data = lib.collect_animation_data(True)
|
||||
|
||||
self.data["timeRangeStart"] = animation_data["frameStart"]
|
||||
self.data["timeRangeEnd"] = animation_data["frameEnd"]
|
||||
self.data["timeRangeIncrement"] = animation_data["step"]
|
||||
self.data["timeRangeNumTimeSamples"] = 0
|
||||
self.data["timeRangeSamplesSpan"] = 0.0
|
||||
self.data["timeRangeFramesPerSecond"] = 24.0
|
||||
self.data["timeRangeFramesPerSecond"] = animation_data["fps"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue