diff options
author | Renanse <[email protected]> | 2013-03-27 11:42:41 -0500 |
---|---|---|
committer | Renanse <[email protected]> | 2013-03-27 11:42:41 -0500 |
commit | b79aa24cc164775a65e9e0ad49ff6f4504a9b3fa (patch) | |
tree | 4b294ff53f41149a4bc8341771f941fd38b84726 /ardor3d-collada | |
parent | b8a3a40ad0449af0d673a9828f6a9650d46361b7 (diff) |
Fix for situations where url is "#". (Which appears to be quite
frequent in Autodesk's collada exporter.)
Diffstat (limited to 'ardor3d-collada')
-rw-r--r-- | ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaDOMUtil.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaDOMUtil.java b/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaDOMUtil.java index 956af66..2bff121 100644 --- a/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaDOMUtil.java +++ b/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaDOMUtil.java @@ -110,6 +110,9 @@ public class ColladaDOMUtil { } private String parseUrl(String baseUrl) { + if ("#".equals(baseUrl)) { + return ""; + } if (baseUrl.length() > 1 && baseUrl.charAt(0) == '#') { baseUrl = baseUrl.substring(1); } |