Better logging and handling of failed model file loading
This commit is contained in:
parent
30db43eac8
commit
5aafab148b
|
@ -25,7 +25,8 @@ public partial class Model : Node3D
|
|||
var modelFile = new ModelFile(modelPath);
|
||||
if (modelFile == null)
|
||||
{
|
||||
GD.Print("UH OH");
|
||||
GD.Print($"Failed to load model file: {modelPath}");
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: Remove this disgusting hack
|
||||
|
|
Loading…
Reference in New Issue