[studio] Remove Editor::setRequiresConstantRefresh
This commit is contained in:
parent
ba7e3929e9
commit
0a62d90065
@ -15,7 +15,6 @@ SceneEditorImGui::SceneEditorImGui(studio::StudioContext &ctx, ox::StringView pa
|
||||
m_ctx(ctx.tctx),
|
||||
m_editor(m_ctx, path),
|
||||
m_view(m_ctx, m_editor.scene()) {
|
||||
setRequiresConstantRefresh(false);
|
||||
}
|
||||
|
||||
void SceneEditorImGui::draw(studio::StudioContext&) noexcept {
|
||||
|
@ -67,10 +67,10 @@ class BaseEditor: public Widget {
|
||||
[[nodiscard]]
|
||||
bool unsavedChanges() const noexcept;
|
||||
|
||||
void setExportable(bool);
|
||||
void setExportable(bool) noexcept;
|
||||
|
||||
[[nodiscard]]
|
||||
bool exportable() const;
|
||||
bool exportable() const noexcept;
|
||||
|
||||
void setCutEnabled(bool);
|
||||
|
||||
|
@ -62,12 +62,12 @@ bool BaseEditor::unsavedChanges() const noexcept {
|
||||
return m_unsavedChanges;
|
||||
}
|
||||
|
||||
void BaseEditor::setExportable(bool exportable) {
|
||||
void BaseEditor::setExportable(bool exportable) noexcept {
|
||||
m_exportable = exportable;
|
||||
exportableChanged.emit(exportable);
|
||||
}
|
||||
|
||||
bool BaseEditor::exportable() const {
|
||||
bool BaseEditor::exportable() const noexcept {
|
||||
return m_exportable;
|
||||
}
|
||||
|
||||
@ -106,10 +106,6 @@ UndoStack *BaseEditor::undoStack() noexcept {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void BaseEditor::setRequiresConstantRefresh(bool value) noexcept {
|
||||
m_requiresConstantRefresh = value;
|
||||
}
|
||||
|
||||
|
||||
Editor::Editor(ox::StringParam itemPath) noexcept:
|
||||
m_itemPath(std::move(itemPath)),
|
||||
|
Loading…
Reference in New Issue
Block a user