clean attr-test 01 - with ext option parameter

This commit is contained in:
karimmozlia 2021-10-18 03:53:48 +02:00
parent 61dd3f419b
commit 484c89ac4a
3 changed files with 3 additions and 3 deletions

View file

@ -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
)

View file

@ -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)

View file

@ -28,7 +28,7 @@
]
},
"CreateModel": {
"extension": ".abc"
"extension": "abc"
}
},
"publish": {