Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2019-02-01 12:03:18 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-02-01 12:03:18 +0300
commit5cb68375113e6e9c02ec9f5d38eb22c96e8b9060 (patch)
tree4d9fa59650fe01fdae82c4a1d51668d59d8fec2d /io_scene_x3d
parent9dcdedcaa6c590b73ec01ec9de331b671d68c8c2 (diff)
parentd410029833365916b2d3a1fee25d0e02c26c648a (diff)
Merge branch 'blender2.7'
Diffstat (limited to 'io_scene_x3d')
-rw-r--r--io_scene_x3d/import_x3d.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index 903222cf..efcbb64e 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -1413,6 +1413,7 @@ def x3d_parse(path):
"""
import xml.dom.minidom
import xml.sax
+ from xml.sax import handler
'''
try: doc = xml.dom.minidom.parse(path)
@@ -1438,6 +1439,8 @@ def x3d_parse(path):
parser = xml.sax.make_parser()
orig_set_content_handler = parser.setContentHandler
+ parser.setFeature(handler.feature_external_ges, False)
+ parser.setFeature(handler.feature_external_pes, False)
parser.setContentHandler = set_content_handler
doc = xml.dom.minidom.parseString(data, parser)