def apply_general_options(self):
        """Apply the options defined by this class."""
        if self.adjust_clipping_distance:
            log_report(
                "INFO", "Adjust clipping distance of 3D view: ...", self
            )
            active_space = None
            for area in bpy.context.screen.areas:
                if area.type == "VIEW_3D":
                    active_space = area.spaces.active
                    break
            # Setting "active_space.clip_end" to values close to "sys.maxsize"
            # causes strange graphical artifacts in the 3D view.
            if sys.maxsize == 2**63 - 1:
                # 2**(63-8) = 2**55 works without artifacts
                active_space.clip_end = 2**55 - 1
            else:
                active_space.clip_end = 2**23 - 1
            log_report(
                "INFO", "Adjust clipping distance of 3D view: Done", self
            )
Apply the options defined by this class.
photogrammetry_importer/operators/general_options.py