From 049c91f4d1cef151a63cee96fcf80db5f53ebab6 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 (cherry picked from commit 45ba58c12376ab503230e5a4650648486042d936) --- 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 f51477766ea..7f47508c7b8 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);