Added preview window when selecting a camera in the scene

This commit is contained in:
Antoine Pilote
2024-09-04 20:31:43 -04:00
parent e1813870a2
commit e607b99191
9 changed files with 94 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ File::File(Ref<Directory> parentDir, const std::string& fullPath, const std::str
FileType File::GetFileType() const
{
const std::string_view ext = GetExtension();
const std::string ext = GetExtension();
if (ext == ".png" || ext == ".jpg")
{
return FileType::Image;