readfile: disable delayed data reading for WIN32
Seeking the file causes slow down on Windows. Resolves T61855
This commit is contained in:
parent
655faca105
commit
779860d34e
Notes:
blender-bot
2023-02-14 06:17:14 +01:00
Referenced by issue #61909, 2.8 Wire Display For Bone Armature Not Functional Referenced by issue #61910, 2.8 Dots indicating Bone Layer Usage Not Visible Referenced by issue #61883, particle system (collection) Referenced by issue #61886, Blender crashes when creating new file using shortcut Cntrl N Referenced by issue #61887, NVIDIA OpenGL Errors crash 2.80 Beta after startup Referenced by issue #61872, Can`t assign shortcut in sculpt hide/mask menu Referenced by issue #61873, Middle Click dragging in the empty areas under the tool tabs does not work. Referenced by issue #61874, The title bar in the properties window says Scene even when the scene tab is not selected. Referenced by issue #61880, massively increased .blend load times Referenced by issue #61855, Loading times of files that link in external data has become inacceptable Referenced by issue #58307, Multires Modifier - No smooth shading and no rotation depth.
|
@ -225,7 +225,9 @@
|
|||
/**
|
||||
* Delay reading blocks we might not use (especially applies to library linking).
|
||||
* which keeps large arrays in memory from data-blocks we may not even use. */
|
||||
#define USE_BHEAD_READ_ON_DEMAND
|
||||
#if !defined(_WIN32) /* Slow on windows, see: T61855 */
|
||||
# define USE_BHEAD_READ_ON_DEMAND
|
||||
#endif
|
||||
|
||||
/* use GHash for BHead name-based lookups (speeds up linking) */
|
||||
#define USE_GHASH_BHEAD
|
||||
|
|
Loading…
Reference in New Issue