BPython:
- based on a request by Campbell (he also provided a patch for scene.Layer) access to layers was improved a little, keeping the old method (ob.Layers is a bitmask) and adding the nicer one (ob.layers is a list of ints). Done for objects and scenes. House-cleaning: .Layer was renamed to .Layers (actually just using strncmp instead of strcmp, so both work, same done for Window.ViewLayers). - finally committing patch by Ken Hughes to let .clearScriptLinks() accept a parameter (list of strings) to clear only specified texts. - doc updates and fixes (JMS reported a problem in nmesh.transform() example code). Thanks all who contributed.
This commit is contained in:
@@ -89,10 +89,9 @@ int EXPP_map_getStrVal( const EXPP_map_pair * map,
|
||||
int ival, const char **sval );
|
||||
|
||||
/* scriplinks-related: */
|
||||
PyObject *EXPP_getScriptLinks( ScriptLink * slink, PyObject * args,
|
||||
int is_scene );
|
||||
int EXPP_clearScriptLinks( ScriptLink * slink );
|
||||
int EXPP_addScriptLink( ScriptLink * slink, PyObject * args, int is_scene );
|
||||
PyObject *EXPP_getScriptLinks(ScriptLink *slink, PyObject *args, int is_scene);
|
||||
PyObject *EXPP_addScriptLink(ScriptLink *slink, PyObject *args, int is_scene);
|
||||
PyObject *EXPP_clearScriptLinks(ScriptLink *slink, PyObject *args);
|
||||
|
||||
/* this queues redraws if we're not in background mode: */
|
||||
void EXPP_allqueue(unsigned short event, short val);
|
||||
|
||||
Reference in New Issue
Block a user