mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
unset PRC_SAVE_DESCRIPTIONS in optimized builds to reduce memory usage
This commit is contained in:
parent
d290a193ad
commit
c9138166fa
@ -1833,12 +1833,12 @@ def WriteConfigSettings():
|
|||||||
if (GetOptimize() <= 3):
|
if (GetOptimize() <= 3):
|
||||||
dtool_config["DO_MEMORY_USAGE"] = '1'
|
dtool_config["DO_MEMORY_USAGE"] = '1'
|
||||||
|
|
||||||
#if (GetOptimize() <= 1):
|
|
||||||
# dtool_config["DO_PIPELINING"] = '1'
|
|
||||||
|
|
||||||
if (GetOptimize() <= 3):
|
if (GetOptimize() <= 3):
|
||||||
dtool_config["NOTIFY_DEBUG"] = '1'
|
dtool_config["NOTIFY_DEBUG"] = '1'
|
||||||
|
|
||||||
|
if (GetOptimize() >= 4):
|
||||||
|
dtool_config["PRC_SAVE_DESCRIPTIONS"] = 'UNDEF'
|
||||||
|
|
||||||
# Now that we have OS_SIMPLE_THREADS, we can support
|
# Now that we have OS_SIMPLE_THREADS, we can support
|
||||||
# SIMPLE_THREADS on exotic architectures like win64, so we no
|
# SIMPLE_THREADS on exotic architectures like win64, so we no
|
||||||
# longer need to disable it for this platform.
|
# longer need to disable it for this platform.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user