Skip to content

Commit 8489bf2

Browse files
authored
Update render_settings_openexr_data_r20.py
Use InternedId instead of Id
1 parent 762c9d5 commit 8489bf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/04_3d_concepts/rendering/render_settings_openexr_data_r20.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ def main():
2929
bc[c4d.RDATA_FORMAT] = c4d.FILTER_EXR
3030

3131
# Defines OpenEXR settings
32-
compressionmethodID = maxon.Id('net.maxon.mediasession.openexr.export.compressionmethod')
33-
halffloatID = maxon.Id('net.maxon.mediasession.openexr.export.halffloat')
34-
layernumberingID = maxon.Id('net.maxon.mediasession.openexr.export.layernumbering')
32+
compressionmethodID = maxon.InternedId('net.maxon.mediasession.openexr.export.compressionmethod')
33+
halffloatID = maxon.InternedId('net.maxon.mediasession.openexr.export.halffloat')
34+
layernumberingID = maxon.InternedId('net.maxon.mediasession.openexr.export.layernumbering')
3535

3636
# Configures OpenEXR format options with a maxon.DataDictionary
3737
exportSettings = maxon.DataDictionary()

0 commit comments

Comments
 (0)