diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2019-05-27 00:51:46 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2019-05-27 00:51:46 +0300 |
commit | b9097af39c2a463110fbe4d025ce03851903fdf7 (patch) | |
tree | c55a43dfafbeb0fa02ba5fe4d163b42f7688af61 /io_scene_gltf2/blender | |
parent | 919559f3deaffa77ad69bb173333f7c14c63028f (diff) |
glTF exporter: remove not used option
Diffstat (limited to 'io_scene_gltf2/blender')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_export_keys.py | 1 | ||||
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_joints.py | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_export_keys.py b/io_scene_gltf2/blender/exp/gltf2_blender_export_keys.py index 2e2f9486..59443934 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_export_keys.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_export_keys.py @@ -39,7 +39,6 @@ FILE_DIRECTORY = 'gltf_filedirectory' BINARY_FILENAME = 'gltf_binaryfilename' YUP = 'gltf_yup' MORPH = 'gltf_morph' -BAKE_SKINS = 'gltf_bake_skins' TEX_COORDS = 'gltf_texcoords' COLORS = 'gltf_colors' NORMALS = 'gltf_normals' diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_joints.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_joints.py index 86a4487b..2059ea88 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_joints.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_joints.py @@ -43,10 +43,6 @@ def gather_joint(blender_bone, export_settings): correction_matrix_local = gltf2_blender_math.multiply( blender_bone.parent.bone.matrix_local.inverted(), blender_bone.bone.matrix_local) matrix_basis = blender_bone.matrix_basis - if export_settings[gltf2_blender_export_keys.BAKE_SKINS]: - gltf2_io_debug.print_console("WARNING", "glTF bake skins not supported") - # matrix_basis = blender_object.convert_space(blender_bone, blender_bone.matrix, from_space='POSE', - # to_space='LOCAL') trans, rot, sca = gltf2_blender_extract.decompose_transition( gltf2_blender_math.multiply(correction_matrix_local, matrix_basis), export_settings) translation, rotation, scale = (None, None, None) |