def check_fields(self): self.lens_name = ShadowGui.checkEmptyString(self.lens_name, "Lens Name") self.lens_position = ShadowGui.checkPositiveNumber(self.lens_position, "Lens Position") self.focal_x = ShadowGui.checkPositiveNumber(self.focal_x, "Focal length (horizontal)") self.focal_y = ShadowGui.checkPositiveNumber(self.focal_y, "Focal length (vertical)")
def check_fields(self): self.image_plane_name = ShadowGui.checkEmptyString(self.image_plane_name, "Image Plane Name") self.image_plane_position = ShadowGui.checkPositiveNumber(self.image_plane_position, "Image Plane Position")