Ignore:
Timestamp:
12/02/10 21:22:45 (3 years ago)
Author:
helios2000
Message:
  • Added an additional flag to the Instance. This protects against unintentional change of Instance blocking. ObjectEdit?, Saver and Loader use the flag.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/active/0.3.3dev/engine/python/fife/extensions/serializers/xmlmap.py

    r3517 r3520  
    502502                        inst.setRotation(rotation) 
    503503 
    504                         blocking = instance.get('blocking') 
    505                         if blocking is not None: 
    506                                 if bool(blocking) is not object.isBlocking(): 
    507                                         inst.setBlocking(bool(blocking)) 
     504                        over_block = instance.get('override_blocking') 
     505                        if over_block is not None: 
     506                                inst.setOverrideBlocking(bool(over_block)) 
     507                                blocking = instance.get('blocking') 
     508                                if blocking is not None: 
     509                                        inst.setBlocking(bool(int(blocking))) 
    508510 
    509511                        fife.InstanceVisual.create(inst) 
Note: See TracChangeset for help on using the changeset viewer.