Hello, thanks for the answer, I tried updating code to
def loadCamera(chunk, path, name):
prepareSensor(chunk)
# c = chunk.addCamera()
# c.sensor = chunk.sensors[chunk.sensors.__len__()-1]
# oky = c.open(path)
# c.label = name
# c.sensor.label = name
# img = c.photo.image()
# if img is not None:
# c.sensor.width = img.width
# c.sensor.height = img.height
oky = chunk.addPhotos(path)
return oky
But i get :
2017-06-14 08:16:59 oky = chunk.addPhotos(path)
2017-06-14 08:16:59 RuntimeError: Can't load photos
Maybe i skipped something :/