mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
clean attr-test 01 - with ext option parameter
This commit is contained in:
parent
61dd3f419b
commit
484c89ac4a
3 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ class AlembicModelLoader(api.Loader):
|
|||
with anlib.maintained_selection():
|
||||
model_node = nuke.createNode(
|
||||
"ReadGeo2",
|
||||
"name {} file {} read_from_file True".format(
|
||||
"name {} file {} ".format(
|
||||
object_name, file),
|
||||
inpanel=False
|
||||
)
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ class ExtractModel(openpype.api.Extractor):
|
|||
staging_dir = self.staging_dir(instance)
|
||||
|
||||
# get extension form setting or from preset
|
||||
extension = instance.context.data["modelFormat"]
|
||||
extension = instance.context.data["project_settings"]["nuke"]["create"]["CreateModel"]["extension"]
|
||||
if not extension :
|
||||
extension = next((k[1] for k in self.write_geo_knobs
|
||||
if k[0] == "file_type"), None)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
]
|
||||
},
|
||||
"CreateModel": {
|
||||
"extension": ".abc"
|
||||
"extension": "abc"
|
||||
}
|
||||
},
|
||||
"publish": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue