From 45ba58c12376ab503230e5a4650648486042d936 Mon Sep 17 00:00:00 2001 From: cyclopsian Date: Sun, 16 Sep 2018 22:23:40 -0400 Subject: [PATCH] Check for absolute paths in OBJ loader --- editor/import/resource_importer_obj.cpp | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/editor/import/resource_importer_obj.cpp b/editor/import/resource_importer_obj.cpp index b18bbc8ce9f..c237d2e8549 100644 --- a/editor/import/resource_importer_obj.cpp +++ b/editor/import/resource_importer_obj.cpp @@ -126,7 +126,12 @@ static Error _parse_material_library(const String &p_path, Map texture = ResourceLoader::load(path); @@ -141,7 +146,12 @@ static Error _parse_material_library(const String &p_path, Map texture = ResourceLoader::load(path); @@ -156,7 +166,12 @@ static Error _parse_material_library(const String &p_path, Map texture = ResourceLoader::load(path);