Commit: d83e7b79872bce3f3df4ddc3d4da85dfc09de798
Author: calra123
Date: Sat Aug 8 15:01:54 2020 +0530
Branches: soc-2020-testing-frameworks
https://developer.blender.org/rBd83e7b79872bce3f3df4ddc3d4da85dfc09de798
Saving last state of Fluids before deleting
===================================================================
M tests/python/physics_fluid.py
===================================================================
diff --git a/tests/python/physics_fluid.py b/tests/python/physics_fluid.py
index 4ac2ff4e90f..9543080d20d 100644
--- a/tests/python/physics_fluid.py
+++ b/tests/python/physics_fluid.py
@@ -29,14 +29,14 @@ from modules.mesh_test import ModifierTest, ModifierSpec
def main():
test = [
- #
- # ["FluidLiquid", "test", "exp",
- # [FluidSpec('fluid_liquid', 'FLUID', 'DOMAIN', {'domain_type':
'LIQUID', 'use_mesh': True, 'cache_type': 'ALL',
- # 'cache_frame_end': 20}, 20)]],
-
+ # For nested settings, use a nested dictionary, enable Python tooltips.
+ # THere might be some Blender warnings like "unable to remove
directory/file"
+ # There might be a System Error message as well PyEval System Error.
["FluidLiquid", "test", "exp",
- [ModifierSpec('fluid_liquid', 'FLUID', {'fluid_type': 'DOMAIN',
'domain_settings': {'domain_type': 'LIQUID', 'use_mesh': True, 'cache_type':
'ALL',
-
'cache_frame_end': 20}})]],
+ [ModifierSpec('fluid_liquid', 'FLUID', {'fluid_type': 'DOMAIN',
'domain_settings':
+ {'domain_type': 'LIQUID',
'use_mesh': True,
+ 'cache_type': 'ALL',
'cache_directory': "fluidy_cache",
+ 'cache_frame_end': 20}},
20)]],
]
fluid_test = ModifierTest(test)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs