just downloaded todays Blender 2.8 build and it seems I can no longer import a function from another Textblock. Works well on a build from April 5th (haven't updated since then).
This simple example is not working in todays build:
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityjust downloaded todays Blender 2.8 build and it seems I can no longer import a function from another Textblock. Works well on a build from April 5th (haven't updated since then).
This simple example is not working in todays build:
Solved: there was an API change. Thanks to @alyawn for posting the solution here
something = bpy.data.texts['something.py'].as_module()