mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
fix crash
This commit is contained in:
parent
283ce4edb2
commit
2c09d3b95a
@ -5053,6 +5053,7 @@ do_issue_texture() {
|
||||
nassertv(texture != (Texture *)NULL);
|
||||
|
||||
if (i >= num_old_stages ||
|
||||
_state._texture == (TextureAttrib *)NULL ||
|
||||
stage != _state._texture->get_on_stage(i) ||
|
||||
texture != _state._texture->get_on_texture(stage) ||
|
||||
stage->involves_color_scale()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user