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:
authorJulien Duroure <julien.duroure@gmail.com>2019-11-13 23:59:45 +0300
committerJulien Duroure <julien.duroure@gmail.com>2019-11-13 23:59:45 +0300
commit6790f39ca64ddfe9c3b00666f4b4f78004e754ab (patch)
treef1330999559537bf9b6cf1faa4181c4fd358f02f /io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_unlit.py
parentd803b6c6f50ceb1cdaddac5011a257a7e75ba7e4 (diff)
glTF importer: code refactoring, texture node + mapping + UVMap
Diffstat (limited to 'io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_unlit.py')
-rw-r--r--io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_unlit.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_unlit.py b/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_unlit.py
index 371ea407..2aae2c60 100644
--- a/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_unlit.py
+++ b/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_unlit.py
@@ -13,7 +13,6 @@
# limitations under the License.
import bpy
-from .gltf2_blender_texture import BlenderTextureInfo
from ...io.com.gltf2_io import MaterialPBRMetallicRoughness
from .gltf2_blender_pbrMetallicRoughness import BlenderPbr
@@ -34,7 +33,6 @@ class BlenderKHR_materials_unlit():
"""Node tree creation."""
material = bpy.data.materials[mat_name]
material.use_nodes = True
- node_tree = material.node_tree
pymaterial = gltf.data.materials[material_index]
if pymaterial.pbr_metallic_roughness is None: