Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_bpath.h
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | typedef enum eBPathForeachFlag { | ||||
| /** Ensures the `absolute_base_path` member of #BPathForeachPathData is initialized properly with | /** Ensures the `absolute_base_path` member of #BPathForeachPathData is initialized properly with | ||||
| * the path of the current .blend file. This can be used by the callbacks to convert relative | * the path of the current .blend file. This can be used by the callbacks to convert relative | ||||
| * paths to absolute ones. */ | * paths to absolute ones. */ | ||||
| BKE_BPATH_FOREACH_PATH_ABSOLUTE = (1 << 0), | BKE_BPATH_FOREACH_PATH_ABSOLUTE = (1 << 0), | ||||
| /** Skip paths of linked IDs. */ | /** Skip paths of linked IDs. */ | ||||
| BKE_BPATH_FOREACH_PATH_SKIP_LINKED = (1 << 1), | BKE_BPATH_FOREACH_PATH_SKIP_LINKED = (1 << 1), | ||||
| /** Skip paths when their matching data is packed. */ | /** Skip paths when their matching data is packed. */ | ||||
| BKE_BPATH_FOREACH_PATH_SKIP_PACKED = (1 << 2), | BKE_BPATH_FOREACH_PATH_SKIP_PACKED = (1 << 2), | ||||
| /** Resolve tokens within a virtual filepath to a single, concrete, filepath. */ | |||||
| BKE_BPATH_FOREACH_PATH_RESOLVE_TOKEN = (1 << 3), | |||||
| /* Skip weak reference paths. Those paths are typically 'nice to have' extra information, but are | /* Skip weak reference paths. Those paths are typically 'nice to have' extra information, but are | ||||
| * not used as actual source of data by the current .blend file. | * not used as actual source of data by the current .blend file. | ||||
| * | * | ||||
| * NOTE: Currently this only concerns the weak reference to a library file stored in | * NOTE: Currently this only concerns the weak reference to a library file stored in | ||||
| * `ID::library_weak_reference`. */ | * `ID::library_weak_reference`. */ | ||||
| BKE_BPATH_TRAVERSE_SKIP_WEAK_REFERENCES = (1 << 5), | BKE_BPATH_TRAVERSE_SKIP_WEAK_REFERENCES = (1 << 5), | ||||
| /** Flags not affecting the generic BPath API. Those may be used by specific IDTypeInfo | /** Flags not affecting the generic BPath API. Those may be used by specific IDTypeInfo | ||||
| ▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines | |||||