Adding some pedestrians generation 3

This commit is contained in:
bernatx 2023-06-16 20:41:06 +02:00
parent 3ad4cc9a09
commit 3552b1f184
5 changed files with 4 additions and 1441 deletions

View File

@ -95,7 +95,7 @@ def get_actor_blueprints(world, filter, generation):
try:
int_generation = int(generation)
# Check if generation is in available generations
if int_generation in [1, 2]:
if int_generation in [1, 2, 3]:
bps = [x for x in bps if int(x.get_attribute('generation')) == int_generation]
return bps
else:

View File

@ -43,7 +43,7 @@ def get_actor_blueprints(world, filter, generation):
try:
int_generation = int(generation)
# Check if generation is in available generations
if int_generation in [1, 2]:
if int_generation in [1, 2, 3]:
bps = [x for x in bps if int(x.get_attribute('generation')) == int_generation]
return bps
else:

View File

@ -174,7 +174,7 @@ def get_actor_blueprints(world, filter, generation):
try:
int_generation = int(generation)
# Check if generation is in available generations
if int_generation in [1, 2]:
if int_generation in [1, 2, 3]:
bps = [x for x in bps if int(x.get_attribute('generation')) == int_generation]
return bps
else:

File diff suppressed because it is too large Load Diff

View File

@ -37,4 +37,4 @@
0.9.12: 20210730_564bcdc
0.9.13: 20211112_d5cfa12
0.9.14: 20221201_5ec9328
Latest: 20230411_d2e0273
Latest: 20230616_844219d