[Bf-blender-cvs] [1f22e9d] soc-2014-fluid: passing correctly rotated geometry to manta
Roman Pogribnyi
noreply at git.blender.org
Tue Aug 5 19:34:37 CEST 2014
Commit: 1f22e9d68ceea9211bc7ac842c3288075e69c172
Author: Roman Pogribnyi
Date: Tue Aug 5 19:20:29 2014 +0200
Branches: soc-2014-fluid
https://developer.blender.org/rB1f22e9d68ceea9211bc7ac842c3288075e69c172
passing correctly rotated geometry to manta
===================================================================
M release/scripts/startup/bl_ui/properties_physics_smoke.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py
index 36c508d..7956714 100644
--- a/release/scripts/startup/bl_ui/properties_physics_smoke.py
+++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py
@@ -375,7 +375,7 @@ class OBJECT_OT_RunMantaButton(bpy.types.Operator):
for ob in coll_objs:
ob.select = True
transform(ob,domain)
- bpy.ops.export_scene.obj(filepath = "./manta_coll.obj", use_selection = True, use_normals = True, use_materials = False, use_triangles = True, group_by_object = True, use_nurbs=True, check_existing= False)
+ bpy.ops.export_scene.obj(filepath = "./manta_coll.obj", axis_forward='Y', axis_up='Z', use_selection = True, use_normals = True, use_materials = False, use_triangles = True, group_by_object = True, use_nurbs=True, check_existing= False)
for ob in coll_objs:
ob.select = False
transform_back(ob,domain)
@@ -383,7 +383,7 @@ class OBJECT_OT_RunMantaButton(bpy.types.Operator):
for ob in flow_objs:
ob.select = True
transform(ob,domain)
- bpy.ops.export_scene.obj(filepath = "./manta_flow.obj", use_selection = True, use_normals = True, use_materials = False, use_triangles = True, group_by_object = True, use_nurbs=True, check_existing= False)
+ bpy.ops.export_scene.obj(filepath = "./manta_flow.obj", axis_forward='Y', axis_up='Z', use_selection = True, use_normals = True, use_materials = False, use_triangles = True, group_by_object = True, use_nurbs=True, check_existing= False)
for ob in flow_objs:
ob.select = False
transform_back(ob,domain)
More information about the Bf-blender-cvs
mailing list