forked from bartvdbraak/blender
5496e87eee
* Replaced the hard coded viscosity presets with Python ones. * Added version check, so older files load fine. Loading new files into 2.62 also works fine.
4 lines
109 B
Python
4 lines
109 B
Python
import bpy
|
|
bpy.context.fluid.settings.viscosity_base = 5.0
|
|
bpy.context.fluid.settings.viscosity_exponent = 5
|