Always flatcache off when working with particle systems
This commit is contained in:
parent
94faded66d
commit
275d83b53c
|
@ -35,10 +35,9 @@ def test_data_collect_and_playback():
|
|||
}
|
||||
|
||||
if og.sim is None:
|
||||
# Make sure GPU dynamics are enabled (GPU dynamics needed for cloth) and no flatcache
|
||||
# Make sure GPU dynamics are enabled (GPU dynamics needed for cloth)
|
||||
gm.ENABLE_OBJECT_STATES = True
|
||||
gm.USE_GPU_DYNAMICS = True
|
||||
gm.ENABLE_FLATCACHE = True
|
||||
gm.ENABLE_TRANSITION_RULES = False
|
||||
else:
|
||||
# Make sure sim is stopped
|
||||
|
|
|
@ -27,10 +27,9 @@ def task_tester(task_type):
|
|||
}
|
||||
|
||||
if og.sim is None:
|
||||
# Make sure GPU dynamics are enabled (GPU dynamics needed for cloth) and no flatcache
|
||||
# Make sure GPU dynamics are enabled (GPU dynamics needed for cloth)
|
||||
gm.ENABLE_OBJECT_STATES = True
|
||||
gm.USE_GPU_DYNAMICS = True
|
||||
gm.ENABLE_FLATCACHE = True
|
||||
gm.ENABLE_TRANSITION_RULES = False
|
||||
else:
|
||||
# Make sure sim is stopped
|
||||
|
|
Loading…
Reference in New Issue