#include "precompiled.h" #include "0ad_warning_disable.h" //# include # include "sr_sn_editor.h" # include "sr_sa_event.h" //# define SR_USE_TRACE1 // constructor / destructor # include "sr_trace.h" //================================== SrSaEvent ==================================== bool SrSaEvent::editor_apply ( SrSnEditor* m ) { bool b=true; if ( !m->visible() ) return b; push_matrix (); mult_matrix ( m->mat() ); SrMat mat = _matrix_stack.top(); mat.invert(); //sr_out<handle_event ( e ); if ( _result ) b = false; // event used: stop the scene traversing pop_matrix (); return b; } //======================================= EOF ====================================