| 1342 | return PluginShaderEditor(); |
| 1343 | } |
| 1344 | std::string CodeEditorUI::GetPluginEditorPath(const PluginShaderEditor& editor) |
| 1345 | { |
| 1346 | for (int i = 0; i < m_pluginEditor.size(); i++) |
| 1347 | if (m_pluginEditor[i].ID == editor.ID && m_pluginEditor[i].LanguageID == editor.LanguageID && |
| 1348 | m_pluginEditor[i].Plugin == editor.Plugin) |
| 1349 | return m_paths[i]; |
| 1350 | return ""; |
| 1351 | } |
| 1352 | |
| 1353 | void CodeEditorUI::CloseAll(PipelineItem* item) |
| 1354 | { |