diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-07-23 16:08:47 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-07-23 16:09:02 +0300 |
commit | 361d578f9d928a6f03991d26d6ec9400b200d194 (patch) | |
tree | 4536d4c95ca410bd1ccb4bd16484d9002db8321a /source/blender | |
parent | 9e3ff9e059baf3cd87aa0fe7ee8081f63df1674f (diff) |
fix: unreported: Collada using incompatible Enumeration types for compare
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/collada/Materials.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/Materials.cpp b/source/blender/collada/Materials.cpp index e1d5b2e9d5c..3b2c68ef95e 100644 --- a/source/blender/collada/Materials.cpp +++ b/source/blender/collada/Materials.cpp @@ -196,7 +196,7 @@ void MaterialNode::set_alpha(COLLADAFW::EffectCommon::OpaqueMode mode, } float alpha = transparent_alpha * transparency_alpha; - if (mode == COLLADASW::EffectProfile::RGB_ZERO) { + if (mode == COLLADAFW::EffectCommon::RGB_ZERO) { alpha = 1 - alpha; } |