When setting the argument --num_tiles to 1 as default, the code gives a divison by zero error at
line 117 aspect_ratio = example.renderer.tile_height / example.renderer.tile_width
An easy fix is to simply change line 34 in class Example from this
if num_tiles > 1:
to this
if num_tiles >= 1:
Bug Description
When setting the argument --num_tiles to 1 as default, the code gives a divison by zero error at
line 117 aspect_ratio = example.renderer.tile_height / example.renderer.tile_width
An easy fix is to simply change line 34 in class Example from this if num_tiles > 1: to this if num_tiles >= 1:
and then it works fine.
System Information
No response