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:
@@ -8,7 +8,7 @@
|
||||
im = Image.Load('dead-parrot.jpg')
|
||||
"""
|
||||
|
||||
#import _Blender.Image as _Image
|
||||
import _Blender.Image as _Image
|
||||
import shadow
|
||||
|
||||
class Image(shadow.shadow):
|
||||
|
Reference in New Issue
Block a user