Skip to content

Commit

Permalink
Merge pull request #12995 from gero3/patch-7
Browse files Browse the repository at this point in the history
assignement to itself is unnessecary
  • Loading branch information
mrdoob committed Dec 30, 2017
2 parents e8f92ca + c713e69 commit 87aa2eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/converters/fbx/convert_to_threejs.py
Expand Up @@ -338,7 +338,6 @@ def generate_material_object(material):
emissive = getHex(material.Emissive.Get())
opacity = 1.0 - material.TransparencyFactor.Get()
opacity = 1.0 if opacity == 0 else opacity
opacity = opacity
transparent = False
reflectivity = 1

Expand All @@ -363,7 +362,6 @@ def generate_material_object(material):
specular = getHex(material.Specular.Get())
opacity = 1.0 - material.TransparencyFactor.Get()
opacity = 1.0 if opacity == 0 else opacity
opacity = opacity
shininess = material.Shininess.Get()
transparent = False
reflectivity = 1
Expand Down

0 comments on commit 87aa2eb

Please sign in to comment.