Преглед изворни кода

removed 'Rest' from keyframe animation drop down since it doesn't work; Added tooltip note when hovering over dropdown to inform user that mesh must be in bind pose when exporting

Ryan Lee пре 9 година
родитељ
комит
ff054272d1
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      utils/exporters/blender/addons/io_three/__init__.py

+ 2 - 3
utils/exporters/blender/addons/io_three/__init__.py

@@ -525,8 +525,7 @@ def animation_options():
     """
     anim = [
         (constants.OFF, constants.OFF.title(), constants.OFF),
-        (constants.POSE, constants.POSE.title(), constants.POSE),
-        (constants.REST, constants.REST.title(), constants.REST)
+        (constants.POSE, constants.POSE.title(), constants.POSE)
     ]
 
     return anim
@@ -727,7 +726,7 @@ class ExportThree(bpy.types.Operator, ExportHelper):
 
     option_animation_skeletal = EnumProperty(
         name="",
-        description="Export animation (skeletal)",
+        description="Export animation (skeletal) NOTE: Mesh must be in bind pose",
         items=animation_options(),
         default=constants.OFF)