Scripts in menus:

-- this finishes the heavier part (not counting tweaks and possible bugs) of
letting scripts be accessed from Blender menus.  Will explain more in emails
to bf and bpython lists, but just check
source/blender/python/BPY_menus.[hc] and
source/blender/src/header_info.c and header_script.c for details.

Scripts need a small update (registering info, basically a header) to be used.
Scripts dir (user pref file paths: Python) must be set.
This commit is contained in:
2004-01-14 21:36:10 +00:00
parent 5190faf513
commit 0d9d16e6e9
8 changed files with 977 additions and 46 deletions

View File

@@ -11,6 +11,7 @@ python_env.Append (CXXFLAGS = cxxflags)
python_env.Append (CPPDEFINES = defines)
source_files = ['BPY_interface.c',
'BPY_menus.c',
'api2_2x/Blender.c',
'api2_2x/Sys.c',
'api2_2x/Registry.c',