mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 05:06:25 -04:00
minor assert
This commit is contained in:
parent
57e22c3279
commit
49301354b5
@ -1955,6 +1955,8 @@ determine_effective_texture() {
|
|||||||
_effective_tex_gen = DCAST(TexGenAttrib, _effective_tex_gen->add_stage
|
_effective_tex_gen = DCAST(TexGenAttrib, _effective_tex_gen->add_stage
|
||||||
(stage, TexGenAttrib::M_constant, TexCoord3f(_current_color_scale[3], 0.0f, 0.0f)));
|
(stage, TexGenAttrib::M_constant, TexCoord3f(_current_color_scale[3], 0.0f, 0.0f)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nassertv(_effective_texture->get_num_on_stages() <= _max_texture_stages);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user