#include <command.h>
Inheritance diagram for CommandUnmark:


Public Member Functions | |
| CommandUnmark (const std::string &) | |
| void | process (ExecutionEnvironment &) |
Private Attributes | |
| std::string | target |
|
|
Definition at line 632 of file command.cpp. 00632 : 00633 target(_target) 00634 { 00635 }
|
|
|
Implements InstantaneousCommand. Definition at line 637 of file command.cpp. References Selection::empty(), and target. 00638 {
00639 Selection sel = env.getSimulation()->findObjectFromPath(target);
00640 if (sel.empty())
00641 return;
00642
00643 if (env.getSimulation()->getUniverse() != NULL)
00644 env.getSimulation()->getUniverse()->unmarkObject(sel, 1);
00645 }
|
|
|
Definition at line 490 of file command.h. Referenced by process(). |
1.4.1