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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander N <alpha-beta-release@gmx.net>2013-08-22 17:42:34 +0400
committerAlexander N <alpha-beta-release@gmx.net>2013-08-22 17:42:34 +0400
commit704263ee0b2aafc1f08a724a7eec794714dde010 (patch)
treefdedc7dc59affe48e8e6def7c5501d21208121b1 /io_scene_ms3d/ms3d_ui.py
parenta350a87aaf1a6b8c1b3e2eb1d299365228b04a9a (diff)
undo the workaround of my previous commit for "[#36443] Vertex to UV index doesn't match with 2.68a", because that issue is fixed in blender 2.68a r59343 now.
- deleted not needed workaround for issue [#36443], because it is fixed in blender 2.68a r59343, - added BMEdge generation to the importer (only for nice doing), - added undo to operators, - deleted some unused strings,
Diffstat (limited to 'io_scene_ms3d/ms3d_ui.py')
-rw-r--r--io_scene_ms3d/ms3d_ui.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/io_scene_ms3d/ms3d_ui.py b/io_scene_ms3d/ms3d_ui.py
index bde05713..6547bba2 100644
--- a/io_scene_ms3d/ms3d_ui.py
+++ b/io_scene_ms3d/ms3d_ui.py
@@ -263,7 +263,7 @@ class Ms3dImportOperator(Operator, ImportHelper):
bl_idname = 'import_scene.ms3d'
bl_label = ms3d_str['BL_LABEL_IMPORTER']
bl_description = ms3d_str['BL_DESCRIPTION_IMPORTER']
- bl_options = {'PRESET', }
+ bl_options = {'UNDO', 'PRESET', }
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
@@ -428,7 +428,7 @@ class Ms3dExportOperator(Operator, ExportHelper):
bl_idname = 'export_scene.ms3d'
bl_label = ms3d_str['BL_LABEL_EXPORTER']
bl_description = ms3d_str['BL_DESCRIPTION_EXPORTER']
- bl_options = {'PRESET', }
+ bl_options = {'UNDO', 'PRESET', }
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
@@ -640,7 +640,7 @@ class Ms3dExportOperator(Operator, ExportHelper):
class Ms3dSetSmoothingGroupOperator(Operator):
bl_idname = Ms3dUi.OPT_SMOOTHING_GROUP_APPLY
bl_label = ms3d_str['BL_LABEL_SMOOTHING_GROUP_OPERATOR']
- bl_options = {'INTERNAL', }
+ bl_options = {'UNDO', 'INTERNAL', }
smoothing_group_index = IntProperty(
name=ms3d_str['PROP_SMOOTHING_GROUP_INDEX'],
@@ -716,7 +716,7 @@ class Ms3dSetSmoothingGroupOperator(Operator):
class Ms3dGroupOperator(Operator):
bl_idname = Ms3dUi.OPT_GROUP_APPLY
bl_label = ms3d_str['BL_LABEL_GROUP_OPERATOR']
- bl_options = {'INTERNAL', }
+ bl_options = {'UNDO', 'INTERNAL', }
mode = EnumProperty(
items=( ('', "", ""),
@@ -807,7 +807,7 @@ class Ms3dGroupOperator(Operator):
class Ms3dMaterialOperator(Operator):
bl_idname = Ms3dUi.OPT_MATERIAL_APPLY
bl_label = ms3d_str['BL_LABEL_MATERIAL_OPERATOR']
- bl_options = {'INTERNAL', }
+ bl_options = {'UNDO', 'INTERNAL', }
mode = EnumProperty(
items=( ('', "", ""),