Slightly working support for custom model textures
This commit is contained in:
parent
2365f09931
commit
0d7ff677de
|
@ -29,7 +29,7 @@ public partial class Model : Node3D
|
|||
}
|
||||
|
||||
// TODO: Remove this disgusting hack. Not only is it a hack, it doesn't support custom models
|
||||
var baseDir = ProjectSettings.GlobalizePath($"user://objects/tmp");
|
||||
var baseDir = Path.GetDirectoryName(modelPath);
|
||||
var options = new EnumerationOptions
|
||||
{
|
||||
MatchCasing = MatchCasing.CaseInsensitive,
|
||||
|
|
Loading…
Reference in New Issue