Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_files.c
| Show First 20 Lines • Show All 456 Lines • ▼ Show 20 Lines | #endif | ||||
| } | } | ||||
| MEM_CacheLimiter_set_maximum(((size_t)U.memcachelimit) * 1024 * 1024); | MEM_CacheLimiter_set_maximum(((size_t)U.memcachelimit) * 1024 * 1024); | ||||
| BKE_sound_init(bmain); | BKE_sound_init(bmain); | ||||
| /* Update the temporary directory from the preferences or fallback to the system default. */ | /* Update the temporary directory from the preferences or fallback to the system default. */ | ||||
| BKE_tempdir_init(U.tempdir); | BKE_tempdir_init(U.tempdir); | ||||
| /* Update tablet API preference. */ | /* Update input device preference. */ | ||||
| WM_init_tablet_api(); | WM_init_input_devices(); | ||||
| BLO_sanitize_experimental_features_userpref_blend(&U); | BLO_sanitize_experimental_features_userpref_blend(&U); | ||||
| } | } | ||||
| /* return codes */ | /* return codes */ | ||||
| #define BKE_READ_EXOTIC_FAIL_PATH -3 /* file format is not supported */ | #define BKE_READ_EXOTIC_FAIL_PATH -3 /* file format is not supported */ | ||||
| #define BKE_READ_EXOTIC_FAIL_FORMAT -2 /* file format is not supported */ | #define BKE_READ_EXOTIC_FAIL_FORMAT -2 /* file format is not supported */ | ||||
| #define BKE_READ_EXOTIC_FAIL_OPEN -1 /* Can't open the file */ | #define BKE_READ_EXOTIC_FAIL_OPEN -1 /* Can't open the file */ | ||||
| ▲ Show 20 Lines • Show All 3,355 Lines • Show Last 20 Lines | |||||