void ConnectSuggestionsToolCommand::connect(Model::Base & source, Model::Base & destination) {
			m_operation.connect(source, destination);
			
			m_functor.loadMaterials();
			m_functor(source);

			finalize();
		}
Пример #2
0
void CPda::PlayScriptFunction()
{
	if(xr_strcmp(m_functor_str, ""))
	{
		luabind::functor<void> m_functor;
		R_ASSERT(ai().script_engine().functor(m_functor_str.c_str(), m_functor));
		m_functor();
	}
}
Пример #3
0
 bool pre(const scene::Path& path, scene::Instance& instance) const
 {
   if(path.top().get().visible())
   {
     BrushInstance* brush = Instance_getBrush(instance);
     if(brush != 0)
     {
       m_functor(*brush);
     }
   }
   return true;
 }
Пример #4
0
 virtual void execute(System& sys) {
     m_functor(sys);
 };
Пример #5
0
void visit( scene::Instance& instance ) const {
	if ( Node_isPatch( instance.path().top() ) ) {
		m_functor( instance );
	}
}
Пример #6
0
 R operator() (void) {
   return m_functor (m_a);
 }