From a4c5d7f923a6e36aafe0136a24d5583afc93004e Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Sun, 24 Jun 2001 21:19:53 +0000 Subject: [PATCH] fix bug in prev chkin --- panda/src/dxgsg/dxGraphicsStateGuardian.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx index 3b18ad618b..f31d594481 100644 --- a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx +++ b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx @@ -4054,7 +4054,7 @@ void DXGraphicsStateGuardian:: issue_color(const ColorAttribute *attrib) { bool bAttribOn=attrib->is_on(); - bool bIsReal = attrib->is_real(); + bool bIsReal = (bAttribOn ? attrib->is_real() : false); _issued_color_enabled = bAttribOn;