4#include "Engine/Network/NetworkManager.h"
5#include "Engine/UndoRedo/UndoCommand.h"
17 if (prev_.has_value())
19 if (!nm().isValidOp(*prev_))
return;
30 if (!nm().isValidOp(next_))
return;
34 UndoCommandType type()
const override {
return UndoCommandType::ChangeDisplayFlag; }
37 std::optional<OpId> prev_;
Basic attribute, parameter, and node types for Enzo.
uint64_t OpId
The unique ID assigned to each node in the network.
Definition Types.h:137
Definition ChangeDisplayFlagCommand.h:11
void clearDisplayFlag()
Clears the display flag so no node is displayed.
Definition NetworkManager.cpp:203
void setDisplayOp(OpId opId)
Sets given OpId to be displayed, releasing previous display Node.
Definition NetworkManager.cpp:192
Definition UndoCommand.h:8