Added preview window when selecting a camera in the scene
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user