Revert to the FUTURE_PYTHON_API, this means:
- switching the define on in buildsystems (NaN, auto and msvc are done) - again import _Blender, which is the C module, from the Python modules
This commit is contained in:
@@ -956,7 +956,7 @@ def importfile(name):
|
||||
global options
|
||||
global DEFAULTFLAGS
|
||||
|
||||
# from Blender import Get # XXX
|
||||
from Blender import Get # XXX
|
||||
options = Get('vrmloptions')
|
||||
DEFAULTFLAGS = FACEFLAGS.LIGHT + FACEFLAGS.DYNAMIC
|
||||
if options['twoside']:
|
||||
|
Reference in New Issue
Block a user