mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Fixed alembic extraction
This commit is contained in:
parent
a4143f5b1d
commit
fa6c491d52
1 changed files with 2 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ class ExtractABC(openpype.api.Extractor):
|
|||
# Define extract output file path
|
||||
|
||||
stagingdir = self.staging_dir(instance)
|
||||
filename = f"{instance.name}.fbx"
|
||||
filename = f"{instance.name}.abc"
|
||||
filepath = os.path.join(stagingdir, filename)
|
||||
|
||||
context = bpy.context
|
||||
|
|
@ -72,9 +72,7 @@ class ExtractABC(openpype.api.Extractor):
|
|||
# We export the abc
|
||||
bpy.ops.wm.alembic_export(
|
||||
new_context,
|
||||
filepath=filepath,
|
||||
start=1,
|
||||
end=1
|
||||
filepath=filepath
|
||||
)
|
||||
|
||||
view_layer.active_layer_collection = old_active_layer_collection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue