[GME-commit] GMESRC/GME/Gme GMEView.cpp,1.164,1.165
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Wed Jun 8 01:27:07 CDT 2005
Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv24111
Modified Files:
GMEView.cpp
Log Message:
CRashed if the constraint manager had been disabled and "Paste Special" command was executed.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: GMEView.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEView.cpp,v
retrieving revision 1.164
retrieving revision 1.165
diff -C2 -d -r1.164 -r1.165
*** GMEView.cpp 15 Apr 2005 17:57:46 -0000 1.164
--- GMEView.cpp 8 Jun 2005 00:27:05 -0000 1.165
***************
*** 2481,2487 ****
else if( CGMEDataSource::IsXMLDataAvailable(pDataObject) )
{
! if( closure) theApp.mgaConstMgr->Enable( false); // if closure is inserted disable the constraint manager ...
ok = CGMEDataSource::ParseXMLData(pDataObject, currentModel);
! if( closure) theApp.mgaConstMgr->Enable( true); // ... and enable it after done
}
else
--- 2481,2487 ----
else if( CGMEDataSource::IsXMLDataAvailable(pDataObject) )
{
! if( closure && theApp.mgaConstMgr) theApp.mgaConstMgr->Enable( false); // if closure is inserted disable the constraint manager ...
ok = CGMEDataSource::ParseXMLData(pDataObject, currentModel);
! if( closure && theApp.mgaConstMgr) theApp.mgaConstMgr->Enable( true); // ... and enable it after done
}
else
More information about the GME-commit
mailing list