mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Drag & drop of .material files
This commit is contained in:
@@ -163,7 +163,8 @@ void EditorSelectionPanel::DrawFile(Ref<Nuake::File> file)
|
||||
using namespace Nuake;
|
||||
if (file->GetExtension() == ".material")
|
||||
{
|
||||
DrawMaterialPanel(std::static_pointer_cast<Material>(selectedResource));
|
||||
MaterialEditor matEditor;
|
||||
matEditor.Draw(std::static_pointer_cast<Material>(selectedResource));
|
||||
}
|
||||
if (file->GetExtension() == ".project")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user