pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.cxx,1.2,1.3


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.cxx,1.2,1.3
Date: 18 Jun 2002 16:18:16 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv19966

Modified Files:
        object_manager.cxx 
Log Message:
fixed [ Bug #656 ] Lower/Raise objects in the editor causes diappearanche of 
objects

Index: object_manager.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/object_manager.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- object_manager.cxx  13 Jun 2002 14:25:13 -0000      1.2
+++ object_manager.cxx  18 Jun 2002 16:18:14 -0000      1.3
@@ -372,12 +372,12 @@
   
   prev = current;
   prev--;
-  swap(*prev, *current);
 
-  /*
+  swap(*prev, *current);
+  /* FIXME: not sure if we need this on windows, if not delete it
   boost::shared_ptr<EditorObj> tmp = *prev;
   *prev = *current;
-  *current = *prev;
+  *current = tmp;
   */
   return true;
 }
@@ -398,11 +398,12 @@
       return false;
     }
   
-//  swap(*next, *current);
+  swap(*next, *current);
+  /* FIXME: not sure if we need this on windows, if not delete it
   boost::shared_ptr<EditorObj> tmp = *next;
   *next = *current;
-  *current = *next;
-    
+  *current = tmp;
+  */
   return true;
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]