diff options
Diffstat (limited to 'js/helper-classes/RDGE/GLWorld.js')
-rw-r--r-- | js/helper-classes/RDGE/GLWorld.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/GLWorld.js b/js/helper-classes/RDGE/GLWorld.js index f9081248..c8327064 100644 --- a/js/helper-classes/RDGE/GLWorld.js +++ b/js/helper-classes/RDGE/GLWorld.js | |||
@@ -973,7 +973,11 @@ GLWorld.prototype.importObject = function( objStr, parentNode ) | |||
973 | obj.import( objStr ); | 973 | obj.import( objStr ); |
974 | break; | 974 | break; |
975 | 975 | ||
976 | case 3: // line - not implemented | 976 | case 3: // line |
977 | obj = new GLLine(); | ||
978 | obj.import( objStr ); | ||
979 | break; | ||
980 | |||
977 | default: | 981 | default: |
978 | throw new Error( "Unrecognized object type: " + type ); | 982 | throw new Error( "Unrecognized object type: " + type ); |
979 | break; | 983 | break; |