renamed getter for editor in engine
This commit is contained in:
parent
c9050f5ea4
commit
b2a71429c9
@ -53,7 +53,7 @@ public:
|
||||
btDiscreteDynamicsWorld* getPhysics() const {return m_world;}
|
||||
SparrowShell* getShell() const {return m_sparrowshell;}
|
||||
PhysicsDebugNode* getPhysicsDebug() const {return m_physicsDebugNode;}
|
||||
Editor* getGuiTools() const {return m_editor;}
|
||||
Editor* getEditor() const {return m_editor;}
|
||||
LoadingThread* getLoadingThread() const {return m_loadingThread;}
|
||||
SceneTree* getScene() const;
|
||||
|
||||
|
@ -99,17 +99,17 @@ void ScriptNode::testfunc(int i, float x=0.f,float y=0.f, float z=0.f){
|
||||
}
|
||||
|
||||
void ScriptNode::picker(){
|
||||
this->getEngine().getGuiTools()->togglePicker();
|
||||
this->getEngine().getEditor()->togglePicker();
|
||||
}
|
||||
|
||||
void ScriptNode::materialEditor(){
|
||||
this->getEngine().getGuiTools()->toggleMaterialEditor();
|
||||
this->getEngine().getEditor()->toggleMaterialEditor();
|
||||
}
|
||||
|
||||
void ScriptNode::rendering(){
|
||||
this->getEngine().getGuiTools()->toggleRenderingPipelineGui();
|
||||
this->getEngine().getEditor()->toggleRenderingPipelineGui();
|
||||
}
|
||||
|
||||
void ScriptNode::resourcePackEditor(){
|
||||
this->getEngine().getGuiTools()->toggleResourcePackGui();
|
||||
this->getEngine().getEditor()->toggleResourcePackGui();
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ void ScenePicker::update()
|
||||
ImGui::End();
|
||||
|
||||
if(!isEnabled)
|
||||
getEngine().getGuiTools()->togglePicker();
|
||||
getEngine().getEditor()->togglePicker();
|
||||
}
|
||||
|
||||
void ScenePicker::pick()
|
||||
|
Loading…
x
Reference in New Issue
Block a user