modes deallocation commented (quick and dirty solution..to debug)
This commit is contained in:
parent
59c1559e59
commit
820aa5dbd1
|
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.12 2004/12/17 10:28:10 ricciodimare
|
||||||
|
*** empty log message ***
|
||||||
|
|
||||||
Revision 1.11 2004/09/28 15:30:12 ponchio
|
Revision 1.11 2004/09/28 15:30:12 ponchio
|
||||||
Added a 'else'.
|
Added a 'else'.
|
||||||
|
|
||||||
|
|
@ -86,8 +89,8 @@ Trackball::Trackball(): current_button(0), current_mode(NULL),
|
||||||
|
|
||||||
Trackball::~Trackball() {
|
Trackball::~Trackball() {
|
||||||
map<int, TrackMode *>::iterator i;
|
map<int, TrackMode *>::iterator i;
|
||||||
for(i = modes.begin(); i != modes.end(); i++)
|
//for(i = modes.begin(); i != modes.end(); i++)
|
||||||
delete (*i).second;
|
// delete (*i).second;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Trackball::SetIdentity() {
|
void Trackball::SetIdentity() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue