GUI: prepare for multiple asset load
This commit is contained in:
parent
6216e286f8
commit
81a2bce4d4
2 changed files with 22 additions and 3 deletions
8
extern/igfd/ImGuiFileDialog.cpp
vendored
8
extern/igfd/ImGuiFileDialog.cpp
vendored
|
|
@ -3993,7 +3993,13 @@ namespace IGFD
|
|||
} else {
|
||||
fdi.SelectFileName(prFileDialogInternal, vInfos);
|
||||
if (prFileDialogInternal.puDLGselFun!=NULL) {
|
||||
prFileDialogInternal.puDLGselFun(GetFilePathName().c_str());
|
||||
std::string argPath;
|
||||
for (auto& i: GetSelection()) {
|
||||
argPath=i.second;
|
||||
}
|
||||
if (!argPath.empty()) {
|
||||
prFileDialogInternal.puDLGselFun(argPath.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue