Merge branch 'blender2.7'

This commit is contained in:
Philipp Oeser 2019-02-01 10:03:18 +01:00
commit 5cb6837511
1 changed files with 3 additions and 0 deletions

View File

@ -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)