Fix normal map property name in material exporter
authorMikko Rasa <tdb@tdb.fi>
Mon, 12 Apr 2021 01:18:39 +0000 (04:18 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 12 Apr 2021 01:18:58 +0000 (04:18 +0300)
blender/io_mspgl/material.py

index 5e06fd8aa061ef83ca9540b1d97163657d0011be..93f177908b4b6ede25de2a24b2e1f7d8fc1d5246 100644 (file)
@@ -86,7 +86,7 @@ class Material:
                        base_color = self.create_property("base_color", (0.8, 0.8, 0.8, 1.0))
                        metalness = self.create_property("metalness", 0.0)
                        roughness = self.create_property("roughness", 0.5)
-                       normal = self.create_property("normal")
+                       normal = self.create_property("normal_map")
                        emission = self.create_property("emission", (0.0, 0.0, 0.0))
 
                        base_color.set_from_input(material.node_tree, surface_node.inputs["Base Color"], surface_node.inputs["Alpha"])