diff --git a/panda/src/pgraph/scissorAttrib.cxx b/panda/src/pgraph/scissorAttrib.cxx index 4e137eec5b..f84bab3fc0 100644 --- a/panda/src/pgraph/scissorAttrib.cxx +++ b/panda/src/pgraph/scissorAttrib.cxx @@ -101,7 +101,7 @@ int ScissorAttrib:: compare_to_impl(const RenderAttrib *other) const { const ScissorAttrib *ta = (const ScissorAttrib *)other; - if (!_off && !ta->_off) { + if (_off && ta->_off) { return 0; }