Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]release/scripts/presets/operator/wm.collada_export/second_life_rigged.py (renamed from release/scripts/presets/operator/wm.collada_export/second_life.py)6
-rwxr-xr-xrelease/scripts/presets/operator/wm.collada_export/second_life_static.py16
2 files changed, 22 insertions, 0 deletions
diff --git a/release/scripts/presets/operator/wm.collada_export/second_life.py b/release/scripts/presets/operator/wm.collada_export/second_life_rigged.py
index bacf49a61ae..2c695a22ff9 100644..100755
--- a/release/scripts/presets/operator/wm.collada_export/second_life.py
+++ b/release/scripts/presets/operator/wm.collada_export/second_life_rigged.py
@@ -1,10 +1,16 @@
import bpy
op = bpy.context.active_operator
+
op.apply_modifiers = True
+op.export_mesh_type = 0
+op.export_mesh_type_selection = 'view'
op.selected = True
op.include_children = False
op.include_armatures = True
op.deform_bones_only = True
+op.active_uv_only = True
+op.include_uv_textures = True
+op.use_texture_copies = True
op.use_object_instantiation = False
op.sort_by_name = True
op.second_life = True
diff --git a/release/scripts/presets/operator/wm.collada_export/second_life_static.py b/release/scripts/presets/operator/wm.collada_export/second_life_static.py
new file mode 100755
index 00000000000..081788b7e9d
--- /dev/null
+++ b/release/scripts/presets/operator/wm.collada_export/second_life_static.py
@@ -0,0 +1,16 @@
+import bpy
+op = bpy.context.active_operator
+
+op.apply_modifiers = True
+op.export_mesh_type = 0
+op.export_mesh_type_selection = 'view'
+op.selected = True
+op.include_children = False
+op.include_armatures = False
+op.deform_bones_only = False
+op.active_uv_only = True
+op.include_uv_textures = True
+op.use_texture_copies = True
+op.use_object_instantiation = False
+op.sort_by_name = True
+op.second_life = False