[Bugs] #3361 Physics UNSP: Physics: grab objects crashes the activity

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Jun 6 15:05:12 EDT 2012


#3361: Physics: grab objects crashes the activity
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  garycmartin                
        Type:  defect                     |         Status:  closed                     
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Physics                    |        Version:  Git as of bugdate          
    Severity:  Unspecified                |     Resolution:  fixed                      
    Keywords:  12.1.0, patch              |   Distribution:  Unspecified                
Status_field:  Unconfirmed                |  
------------------------------------------+---------------------------------

Comment(by garycmartin):

 Replying to [comment:23 dsd]:
 > In other cases we are choosing to break compatibility with old versions,
 or at least pre-2011, because of the overhead involved. Anyway, it is a
 matter personal preference.
 >
 > To keep compatibility you could do something like:
 > {{{
 > self.parent.mouseJoint = self.parent.world.CreateJoint(mj)
 > if hasattr(self.parent.mouseJoint, 'getAsType'):
 >     self.parent.mouseJoint = self.parent.mouseJoint.getAsType()
 > }}}

 Thanks Daniel, only just spotted your comment (swamped with ~400 inbox
 emails). Just landed something very similar in Physics-10, tested on XO-1
 and XO-1.75 on several old, current, and new builds (no XO-1.5 here to
 test).

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3361#comment:25>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list