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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user