def _populate_settings(self, context): _LOG.enter() _LOG.trace("Context is scene", isinstance(context, bpy.types.Scene)) available_settings = UiService.get_eye_settings_panel_list() if available_settings is None: available_settings = [] return available_settings
def draw(self, context): _LOG.enter() ensure_eye_settings_default_exists() if UiService.get_eye_settings_panel_list() is None: UiService.rebuild_eye_settings_panel_list() layout = self.layout scene = context.scene self._load_save_box( scene, self._create_box(layout, "Load/save presets", "MODIFIER"))