mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
don't add an off TextureAttrib by default
This commit is contained in:
parent
2e465f8cc8
commit
0ba17bdb90
@ -92,7 +92,7 @@ fill_state(EggPrimitive *egg_prim) {
|
|||||||
bin = render_mode->get_bin();
|
bin = render_mode->get_bin();
|
||||||
}
|
}
|
||||||
|
|
||||||
add_attrib(TextureAttrib::make_off());
|
// add_attrib(TextureAttrib::make_off());
|
||||||
int num_textures = egg_prim->get_num_textures();
|
int num_textures = egg_prim->get_num_textures();
|
||||||
CPT(RenderAttrib) texture_attrib = NULL;
|
CPT(RenderAttrib) texture_attrib = NULL;
|
||||||
CPT(RenderAttrib) tex_gen_attrib = NULL;
|
CPT(RenderAttrib) tex_gen_attrib = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user