David Rose %!s(int64=18) %!d(string=hai) anos
pai
achega
cdc0a1564b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      panda/src/pgraph/geomNode.cxx

+ 1 - 1
panda/src/pgraph/geomNode.cxx

@@ -174,7 +174,7 @@ apply_attribs_to_vertices(const AccumulatedAttribs &attribs, int attrib_types,
                 entry._state = entry._state->set_attrib(ColorAttrib::make_flat(csa->get_scale()));
                 entry._state = entry._state->set_attrib(ColorAttrib::make_flat(csa->get_scale()));
 
 
               } else if (ca->get_color_type() == ColorAttrib::T_flat) {
               } else if (ca->get_color_type() == ColorAttrib::T_flat) {
-                // ColorAttrib::T_off means the color scale modulates
+                // ColorAttrib::T_flat means the color scale modulates
                 // the specified color to produce a new color.
                 // the specified color to produce a new color.
                 const Colorf &c1 = ca->get_color();
                 const Colorf &c1 = ca->get_color();
                 const LVecBase4f &c2 = csa->get_scale();
                 const LVecBase4f &c2 = csa->get_scale();