Ignore:
Timestamp:
12/02/10 21:22:45 (4 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/core/model/structures/instance.h

    r3517 r3520  
    167167                bool isBlocking() const; 
    168168 
     169                /** Sets if instance blocking can overriden 
     170                 */ 
     171                void setOverrideBlocking(bool overblock) { m_override_blocking = overblock; } 
     172 
     173                /** Gets if instance blocking can overriden 
     174                 */ 
     175                bool isOverrideBlocking() const { return m_override_blocking; } 
     176 
    169177                /** Adds new instance action listener 
    170178                 * @param listener to add 
     
    370378                // instance blocking info 
    371379                bool m_blocking; 
     380                // allow to override the blocking property 
     381                bool m_override_blocking; 
    372382 
    373383                Instance(const Instance&); 
Note: See TracChangeset for help on using the changeset viewer.