Welcome to mirror list, hosted at ThFree Co, Russian Federation.

IO_path_util_types.h « common « io « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0233f601a8132d45765a683fab1b6b5f6ca7d2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once

/** Method used to reference paths. Equivalent of bpy_extras.io_utils.path_reference_mode. */
typedef enum {
  /** Use Relative paths with subdirectories only. */
  PATH_REFERENCE_AUTO = 0,
  /** Always write absolute paths. */
  PATH_REFERENCE_ABSOLUTE = 1,
  /** Write relative paths where possible. */
  PATH_REFERENCE_RELATIVE = 2,
  /** Match Absolute/Relative setting with input path. */
  PATH_REFERENCE_MATCH = 3,
  /** Filename only. */
  PATH_REFERENCE_STRIP = 4,
  /** Copy the file to the destination path. */
  PATH_REFERENCE_COPY = 5,
} ePathReferenceMode;