diff --git a/wfobj/WFObj.cc b/wfobj/WFObj.cc index c091f15..e56285d 100644 --- a/wfobj/WFObj.cc +++ b/wfobj/WFObj.cc @@ -14,7 +14,7 @@ using namespace std; #define WHITESPACE " \n\r\t\v" -// #define DEBUGGL +#define DEBUGGL /****** static functions ******/ @@ -534,6 +534,7 @@ void WFMtl::renderEnd(const string & mtlname) cout << " glPopAttrib()" << endl; #endif glPopAttrib(); + m_attributesPushed = false; } }