Browse Source

don't add an off TextureAttrib by default

David Rose 20 years ago
parent
commit
0ba17bdb90
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/egg2pg/eggRenderState.cxx

+ 1 - 1
panda/src/egg2pg/eggRenderState.cxx

@@ -92,7 +92,7 @@ fill_state(EggPrimitive *egg_prim) {
     bin = render_mode->get_bin();
   }
 
-  add_attrib(TextureAttrib::make_off());
+  //  add_attrib(TextureAttrib::make_off());
   int num_textures = egg_prim->get_num_textures();
   CPT(RenderAttrib) texture_attrib = NULL;
   CPT(RenderAttrib) tex_gen_attrib = NULL;