bugPingus - Bugs: bug #656, Lower/Raise objects in the editor...

 
 

bug #656: Lower/Raise objects in the editor causes diappearanche of objects

Submitted by:  None
Submitted on:  Sun 16 Jun 2002 07:55:55 PM UTC  
 
Category: Level EditorSeverity: 3 - Normal
Item Group: Incorrect BehaviourStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Operating System: NonePlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 18 Jun 2002 04:17:04 PM UTC, comment #1:

Was caused by:

boost::shared_ptr<EditorObj> tmp = *next;
next = current;
current = next;

which should have been:

boost::shared_ptr<EditorObj> tmp = *next;
next = current;
*current = tmp;

I replaced that with:

swap(next, current);

Ingo Ruhnke <grumbel>
Project Administrator
Sun 16 Jun 2002 07:55:55 PM UTC, original submission:

Lowering or raising objects in the editor doesn't work, it causes the random disappearance of not marked objects, while the marked objects stays mostly untoched. Source of this bug is unknown, might be related to some shared_ptr<> cleanup or due to changes in the sort routine, but could also be something completly different.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 18 Jun 2002 04:17:04 PM UTCgrumbelStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
  Closed on-=>-
Sun 16 Jun 2002 08:22:13 PM UTCgrumbelCategoryNone=>(Error - Not Found)
  Item GroupNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1