[Bf-blender-cvs] [932cfdbe98f] master: cleanup: Collada exporter: Removed misleading comments

Gaia Clary noreply at git.blender.org
Mon Jan 20 18:48:08 CET 2020


Commit: 932cfdbe98fd93b5e2f2c11c3e15310cbedf6f25
Author: Gaia Clary
Date:   Mon Jan 20 18:45:41 2020 +0100
Branches: master
https://developer.blender.org/rB932cfdbe98fd93b5e2f2c11c3e15310cbedf6f25

cleanup: Collada exporter: Removed misleading comments

===================================================================

M	source/blender/collada/EffectExporter.cpp

===================================================================

diff --git a/source/blender/collada/EffectExporter.cpp b/source/blender/collada/EffectExporter.cpp
index 80f84738f6e..2d69fae035f 100644
--- a/source/blender/collada/EffectExporter.cpp
+++ b/source/blender/collada/EffectExporter.cpp
@@ -112,26 +112,22 @@ void EffectsExporter::set_transparency(COLLADASW::EffectProfile &ep, Material *m
 
 void EffectsExporter::set_diffuse_color(COLLADASW::EffectProfile &ep, Material *ma)
 {
-  // get diffuse color
   COLLADASW::ColorOrTexture cot = bc_get_base_color(ma);
   ep.setDiffuse(cot, false, "diffuse");
 }
 
 void EffectsExporter::set_ambient(COLLADASW::EffectProfile &ep, Material *ma)
 {
-  // get diffuse color
   COLLADASW::ColorOrTexture cot = bc_get_ambient(ma);
   ep.setAmbient(cot, false, "ambient");
 }
 void EffectsExporter::set_specular(COLLADASW::EffectProfile &ep, Material *ma)
 {
-  // get diffuse color
   COLLADASW::ColorOrTexture cot = bc_get_specular(ma);
   ep.setSpecular(cot, false, "specular");
 }
 void EffectsExporter::set_reflective(COLLADASW::EffectProfile &ep, Material *ma)
 {
-  // get diffuse color
   COLLADASW::ColorOrTexture cot = bc_get_reflective(ma);
   ep.setReflective(cot, false, "reflective");
 }



More information about the Bf-blender-cvs mailing list