Update python examples to work with latest code

This commit is contained in:
baldurk committed 2021-07-28 11:37:14 +01:00
1 parent 97a83f4dc4
commit 88d005d945
2 files changed
+2 -2

No files matched your search

@@ -229,7 +229,7 @@ def sampleCode(controller):
# Move to that draw
controller.SetFrameEvent(draw.eventId, True)
print("Decoding mesh inputs at %d: %s\n\n" % (draw.eventId, draw.name))
print("Decoding mesh inputs at %d: %s\n\n" % (draw.eventId, draw.GetName(controller.GetStructuredFile())))
# Calculate the mesh input configuration
meshInputs = getMeshInputs(controller, draw)
@@ -40,7 +40,7 @@ def sampleCode(controller):
filename = str(int(texsave.resourceId))
print("Saving images of %s at %d: %s" % (filename, draw.eventId, draw.name))
print("Saving images of %s at %d: %s" % (filename, draw.eventId, draw.GetName(controller.GetStructuredFile())))
# Save different types of texture