diff --git a/WFObj.cc b/WFObj.cc index ef511c1..3777c09 100644 --- a/WFObj.cc +++ b/WFObj.cc @@ -552,6 +552,7 @@ void WFMtl::renderEnd(const string & mtlname) cout << " glPopAttrib()" << endl; #endif glPopAttrib(); + m_attributesPushed = false; } }