mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
pgraph: fix ScissorAttrib compare (fix flickering DirectScrolledFrame)
Fixes #681
This commit is contained in:
parent
cee000d1da
commit
4bb31029f0
@ -101,7 +101,7 @@ int ScissorAttrib::
|
|||||||
compare_to_impl(const RenderAttrib *other) const {
|
compare_to_impl(const RenderAttrib *other) const {
|
||||||
const ScissorAttrib *ta = (const ScissorAttrib *)other;
|
const ScissorAttrib *ta = (const ScissorAttrib *)other;
|
||||||
|
|
||||||
if (!_off && !ta->_off) {
|
if (_off && ta->_off) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user