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:
@@ -11,7 +11,7 @@ Example::
|
||||
ob.link(l)
|
||||
"""
|
||||
|
||||
#import _Blender.Lamp as _Lamp
|
||||
import _Blender.Lamp as _Lamp
|
||||
import shadow
|
||||
|
||||
_validBufferSizes = [512, 768, 1024, 1536, 2560]
|
||||
|
Reference in New Issue
Block a user