Update python examples to work with latest code

This commit is contained in:
baldurk
2021-07-27 15:33:23 +01:00
parent 97a83f4dc4
commit 88d005d945
2 changed files with 2 additions and 2 deletions
@@ -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