Fix json float input.
This commit is contained in:
parent
afbacca3f4
commit
57c2414e6b
5 changed files with 30413 additions and 34081 deletions
|
@ -15,8 +15,8 @@ if __name__ == "__main__":
|
|||
if not os.path.exists(os.getcwd() + "/" + output):
|
||||
os.makedirs(os.getcwd() + "/" + output)
|
||||
|
||||
height = shape_params["height"]
|
||||
radius = shape_params["radius"]
|
||||
height = float(shape_params["height"])
|
||||
radius = float(shape_params["radius"])
|
||||
color = [random.random()*255.0,
|
||||
random.random()*255.0,
|
||||
random.random()*255.0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue