--------------------------------- EditorBase::SaveLayout
| 91 | // EditorBase::SaveLayout |
| 92 | // |
| 93 | void EditorBase::SaveLayout() |
| 94 | { |
| 95 | std::string const layoutPath = FS("%slayouts/%s.json", EditorConfig::GetInstance()->GetEditorUserDir().c_str(), GetLayoutName().c_str()); |
| 96 | |
| 97 | if (!core::serialization::SerializeToFile(layoutPath, m_NodeHierachy)) |
| 98 | { |
| 99 | LOG(FS("EditorBase::SaveLayout > unable to save the layout to: %s", layoutPath.c_str()), core::LogLevel::Warning); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | //--------------------------------- |
| 104 | // EditorBase::QueueNodeForSplit |