mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix state problem with alpha-scale-via-texture
This commit is contained in:
parent
1abe868c95
commit
9367add462
@ -5889,9 +5889,9 @@ set_state_and_transform(const RenderState *target,
|
|||||||
_state._tex_matrix = _target._tex_matrix;
|
_state._tex_matrix = _target._tex_matrix;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_target._tex_gen != _state._tex_gen) {
|
if (_effective_tex_gen != _state._tex_gen) {
|
||||||
do_issue_tex_gen();
|
do_issue_tex_gen();
|
||||||
_state._tex_gen = _target._tex_gen;
|
_state._tex_gen = _effective_tex_gen;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_target._material != _state._material) {
|
if (_target._material != _state._material) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user