Jump to content

[SOLVED] AddEditor C++


photo

Recommended Posts

Hi,

 

Not sure what are you trying to achieve. If you want to use editor, just type console command editor_load and it would be loaded if you have data/editor folder with editor scripts.

 

Also, please check the <SDK>/source/samples/Api/Systems/Editor sample.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

thanks, i wrote this code for deletion:

void clear_scene() {

	// editor interface
	Editor *editor = Editor::get();

	// editor nodes
	while(editor->getNumNodes()) {
		NodePtr node = editor->getNode(0);
		editor->removeNode(node);
	}
}

All OK

Link to comment
×
×
  • Create New...