| 41 | } |
| 42 | |
| 43 | static std::string InitialNodeTree( const NodeEditorApp::Arguments& arguments ) |
| 44 | { |
| 45 | for( int i = 1; i < arguments.argc - 1; ++i ) |
| 46 | { |
| 47 | if( std::string_view{ arguments.argv[i] } == "--import-ent" ) |
| 48 | { |
| 49 | return arguments.argv[i + 1]; |
| 50 | } |
| 51 | } |
| 52 | return ""; |
| 53 | } |
| 54 | |
| 55 | #ifdef __EMSCRIPTEN__ |
| 56 | static void* fnEditorIpcSetup( bool ) |