aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaDOMUtil.java3
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);
}