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:
@@ -2224,7 +2224,7 @@ void special_aftertrans_update(TransInfo *t)
|
||||
act= ob->action;
|
||||
|
||||
if (!act)
|
||||
act= ob->action= add_empty_action(ID_PO);
|
||||
act= ob->action= add_empty_action("Action");
|
||||
|
||||
for (pchan=pose->chanbase.first; pchan; pchan=pchan->next){
|
||||
if (pchan->bone->flag & BONE_TRANSFORM){
|
||||
|
||||
Reference in New Issue
Block a user