<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_meta_data_editor(self, key, meta_data, from_gaphas=True):
 """Sets the meta data for a specific key of the desired editor :param str key: The meta data key, separated by dots if it is nested :param meta_data: The value to be set :param bool from_gaphas: If the data comes from a gaphas editor """

        self.do_convert_meta_data_if_no_data(from_gaphas)
        meta_gui = self.meta['gui']
        meta_gui = meta_gui['editor_gaphas'] if from_gaphas else meta_gui['editor_opengl']

        key_path = key.split('.')
        for key in key_path:
            if isinstance(meta_gui, list):
                meta_gui[int(key)] = meta_data
                break
            if key == key_path[-1]:
                meta_gui[key] = meta_data
            else:
                meta_gui = meta_gui[key]

        return self.get_meta_data_editor(for_gaphas=from_gaphas)