Merge branch 'master' of https://bitbucket.org/omigamedev/new_engine
This commit is contained in:
@@ -132,6 +132,7 @@ public:
|
||||
void snapshot_save(std::string data_path);
|
||||
void snapshot_restore();
|
||||
void snap_history(const std::vector<int>& planes);
|
||||
class ActionStroke* create_action(int layer);
|
||||
void clear_context();
|
||||
void import_equirectangular(std::string file_path);
|
||||
void import_equirectangular_thread(std::string file_path);
|
||||
@@ -175,6 +176,11 @@ public:
|
||||
virtual void run() override
|
||||
{
|
||||
|
||||
}
|
||||
virtual Action* get_redo()
|
||||
{
|
||||
auto redo = m_canvas->create_action(m_layer_idx);
|
||||
return redo;
|
||||
}
|
||||
virtual void undo() override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user