* Added submodule Window, including FileSelector and ImageSelector:
Most of the code comes from bpython/intern/opy_window.c, but two
new functions were added, to access the file and image selector
windows in Blender.
* Added submodules Draw (gui) and BGL (OpenGL wrapper):
The code comes from bpython/intern/opy_draw.c, with minor changes
to integrate it in the new implementation.
* Made changes to Camera, Lamp and Image submodules:
The implementation was improved. These files should be good
starting points for interested new coders to look at, now.
* Renamed interface.[ch] to EXPP_interface.[ch] to avoid conflict:
There is another interface.h file in source/blender/include.
This commit is contained in:
@@ -193,7 +193,10 @@ void initBlender (void)
|
||||
g_blenderdict = dict;
|
||||
PyDict_SetItemString (dict, "Object", initObject());
|
||||
PyDict_SetItemString (dict, "Camera", M_Camera_Init());
|
||||
PyDict_SetItemString (dict, "Lamp", M_Lamp_Init());
|
||||
PyDict_SetItemString (dict, "Image", M_Image_Init());
|
||||
PyDict_SetItemString (dict, "Lamp", M_Lamp_Init());
|
||||
PyDict_SetItemString (dict, "Image", M_Image_Init());
|
||||
PyDict_SetItemString (dict, "Window", M_Window_Init());
|
||||
PyDict_SetItemString (dict, "Draw", M_Draw_Init());
|
||||
PyDict_SetItemString (dict, "BGL", M_BGL_Init());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user