python api
removed most custom add_*data* wrappers from Main.c removed makeCurrent() from Text.c (was never in a release), use "bpy.texts.active = text" now clamp new image sizes made add_empty_action accept a string rather then a blocktype since the blocktype was only being used to choose one of 3 strings anyway.
This commit is contained in:
@@ -90,7 +90,7 @@ ListBase *get_active_constraint_channels (Object *ob, int forcevalid)
|
||||
if (!forcevalid)
|
||||
return NULL;
|
||||
|
||||
ob->action=add_empty_action(ID_PO);
|
||||
ob->action=add_empty_action("Action");
|
||||
}
|
||||
|
||||
/* Make sure we have an actionchannel */
|
||||
|
||||
Reference in New Issue
Block a user