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-18 02:21:17 +0400
committerAlexander N <alpha-beta-release@gmx.net>2013-08-18 02:21:17 +0400
commit91e25c8fe96ffcbd14076e09c0659cb753bcd6c3 (patch)
treecf23947d9a56f80d9c741dbda3124f3343a315c8 /io_scene_ms3d/ms3d_ui.py
parent78a1a609731d0501e0e17aa319e4e1e4c98c76e5 (diff)
workaround for [#36443] Vertex to UV index doesn't match with 2.68a
- until the <BMesh>.faces.new(..) is scrambling the vertices order (input -> output), i use the workaround, that build a de-scramble dictionary. i still thing it is a bug in blender 2.68. - got rid of unneeded option 'io_scene_ms3d.set_sence_to_metric', Ms3dSetSceneToMetricOperator, set_sence_to_metric
Diffstat (limited to 'io_scene_ms3d/ms3d_ui.py')
-rw-r--r--io_scene_ms3d/ms3d_ui.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/io_scene_ms3d/ms3d_ui.py b/io_scene_ms3d/ms3d_ui.py
index 5a3431c1..bde05713 100644
--- a/io_scene_ms3d/ms3d_ui.py
+++ b/io_scene_ms3d/ms3d_ui.py
@@ -46,7 +46,6 @@ from io_scene_ms3d.ms3d_spec import (
from io_scene_ms3d.ms3d_utils import (
enable_edit_mode,
get_edge_split_modifier_add_if,
- set_sence_to_metric,
)
@@ -1706,36 +1705,7 @@ class Ms3dSmoothingGroupPanel(Panel):
###############################################################################
-class Ms3dSetSceneToMetricOperator(Operator):
- """ . """
- bl_idname = 'io_scene_ms3d.set_sence_to_metric'
- bl_label = ms3d_str['BL_LABEL_SET_SCENE_TO_METRIC']
- bl_description = ms3d_str['BL_DESC_SET_SCENE_TO_METRIC']
-
-
- #
- @classmethod
- def poll(cls, blender_context):
- return True
-
- # entrypoint for option
- def execute(self, blender_context):
- return self.set_sence_to_metric(blender_context)
-
- # entrypoint for option via UI
- def invoke(self, blender_context, event):
- return blender_context.window_manager.invoke_props_dialog(self)
-
-
- ###########################################################################
- def set_sence_to_metric(self, blender_context):
- set_sence_to_metric(blender_context)
- return {"FINISHED"}
-
-
-###############################################################################
def register():
- register_class(Ms3dSetSceneToMetricOperator)
register_class(Ms3dGroupProperties)
register_class(Ms3dModelProperties)
register_class(Ms3dArmatureProperties)
@@ -1754,7 +1724,6 @@ def unregister():
unregister_class(Ms3dArmatureProperties)
unregister_class(Ms3dModelProperties)
unregister_class(Ms3dGroupProperties)
- unregister_class(Ms3dSetSceneToMetricOperator)
def inject_properties():
Mesh.ms3d = PointerProperty(type=Ms3dModelProperties)