mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
declare default string option as unicode
This commit is contained in:
parent
cc1d6313d5
commit
b5d775700d
1 changed files with 4 additions and 6 deletions
|
|
@ -73,9 +73,9 @@ class ExtractMultiverseUsd(openpype.api.Extractor):
|
|||
"flattenParentXforms": False,
|
||||
"writeSparseOverrides": False,
|
||||
"useMetaPrimPath": False,
|
||||
"customRootPath": '',
|
||||
"customAttributes": '',
|
||||
"nodeTypesToIgnore": '',
|
||||
"customRootPath": u'',
|
||||
"customAttributes": u'',
|
||||
"nodeTypesToIgnore": u'',
|
||||
"writeMeshes": True,
|
||||
"writeCurves": True,
|
||||
"writeParticles": True,
|
||||
|
|
@ -98,7 +98,7 @@ class ExtractMultiverseUsd(openpype.api.Extractor):
|
|||
"writeTransformMatrix": True,
|
||||
"writeUsdAttributes": False,
|
||||
"timeVaryingTopology": False,
|
||||
"customMaterialNamespace": '',
|
||||
"customMaterialNamespace": u'',
|
||||
"numTimeSamples": 1,
|
||||
"timeSamplesSpan": 0.0
|
||||
}
|
||||
|
|
@ -112,8 +112,6 @@ class ExtractMultiverseUsd(openpype.api.Extractor):
|
|||
|
||||
# Ensure the data is of correct type
|
||||
value = instance.data[key]
|
||||
if isinstance(value, str):
|
||||
value = unicode(value, "utf-8")
|
||||
if not isinstance(value, self.options[key]):
|
||||
self.log.warning(
|
||||
"Overridden attribute {key} was of "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue