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:
authorGaia Clary <gaia.clary@machinimatrix.org>2012-06-22 21:14:50 +0400
committerGaia Clary <gaia.clary@machinimatrix.org>2012-06-22 21:14:50 +0400
commitd0bf289f68c39c2877835373159ea126944fd3a1 (patch)
tree479c6c1b5db14a213c64c2ee7e8341b8381963e6 /release
parentadf3a5e33229633be9b3ea3639a1baa6596ec7ff (diff)
Fix: Collada (Exporter) replaced the initial operator Presets with 2 up to date versions
Diffstat (limited to 'release')
-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