Cleanup: clang-format
This commit is contained in:
parent
828c66f393
commit
501bca9f5b
Notes:
blender-bot
2023-02-14 07:39:44 +01:00
Referenced by issue #90158, Can't open blendfile
|
@ -58,9 +58,10 @@ GHOST_TSuccess GHOST_ISystem::createSystem()
|
|||
try {
|
||||
m_system = new GHOST_SystemWayland();
|
||||
if (!std::getenv("BLENDER_WAYLAND")) {
|
||||
printf("Connected to a Wayland compositor but Wayland is disabled at "\
|
||||
"runtime.\nSet environment variable 'BLENDER_WAYLAND' (e.g. "\
|
||||
"BLENDER_WAYLAND= blender) to use Wayland.\n");
|
||||
printf(
|
||||
"Connected to a Wayland compositor but Wayland is disabled at runtime.\n"
|
||||
"Set environment variable 'BLENDER_WAYLAND' "
|
||||
"(e.g. BLENDER_WAYLAND= blender) to use Wayland.\n");
|
||||
throw std::runtime_error(std::string());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,12 +36,13 @@ struct ReportList;
|
|||
|
||||
AssetTempIDConsumer *ED_asset_temp_id_consumer_create(const struct AssetHandle *handle);
|
||||
void ED_asset_temp_id_consumer_free(AssetTempIDConsumer **consumer);
|
||||
struct ID *ED_asset_temp_id_consumer_ensure_local_id(AssetTempIDConsumer *consumer,
|
||||
const struct bContext *C,
|
||||
const struct AssetLibraryReference *asset_library,
|
||||
ID_Type id_type,
|
||||
struct Main *bmain,
|
||||
struct ReportList *reports);
|
||||
struct ID *ED_asset_temp_id_consumer_ensure_local_id(
|
||||
AssetTempIDConsumer *consumer,
|
||||
const struct bContext *C,
|
||||
const struct AssetLibraryReference *asset_library,
|
||||
ID_Type id_type,
|
||||
struct Main *bmain,
|
||||
struct ReportList *reports);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue