Merge remote-tracking branch 'origin/ch' into HJD
This commit is contained in:
commit
9bb48742b0
@ -3061,6 +3061,46 @@ class VRManager(DirectObject):
|
||||
if self.optimization:
|
||||
self.optimization.performance_mode_trigger_frame = value
|
||||
|
||||
# GC控制属性代理 - 修复'gc_control_enabled'属性访问问题
|
||||
@property
|
||||
def _gc_control_enabled(self):
|
||||
"""GC控制启用状态 - 代理到优化模块"""
|
||||
if self.optimization:
|
||||
return self.optimization._gc_control_enabled
|
||||
return True
|
||||
|
||||
@_gc_control_enabled.setter
|
||||
def _gc_control_enabled(self, value):
|
||||
"""GC控制启用状态设置 - 代理到优化模块"""
|
||||
if self.optimization:
|
||||
self.optimization._gc_control_enabled = value
|
||||
|
||||
@property
|
||||
def _gc_disabled(self):
|
||||
"""GC禁用状态 - 代理到优化模块"""
|
||||
if self.optimization:
|
||||
return self.optimization._gc_disabled
|
||||
return False
|
||||
|
||||
@_gc_disabled.setter
|
||||
def _gc_disabled(self, value):
|
||||
"""GC禁用状态设置 - 代理到优化模块"""
|
||||
if self.optimization:
|
||||
self.optimization._gc_disabled = value
|
||||
|
||||
@property
|
||||
def _manual_gc_interval(self):
|
||||
"""手动GC间隔 - 代理到优化模块"""
|
||||
if self.optimization:
|
||||
return self.optimization._manual_gc_interval
|
||||
return 900
|
||||
|
||||
@_manual_gc_interval.setter
|
||||
def _manual_gc_interval(self, value):
|
||||
"""手动GC间隔设置 - 代理到优化模块"""
|
||||
if self.optimization:
|
||||
self.optimization._manual_gc_interval = value
|
||||
|
||||
# 分辨率缩放属性代理
|
||||
@property
|
||||
def resolution_scale(self):
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
2362
功能与源代码对应关系清单.md
Normal file
2362
功能与源代码对应关系清单.md
Normal file
File diff suppressed because it is too large
Load Diff
1026
源代码架构说明.md
Normal file
1026
源代码架构说明.md
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user