Removed last remainder of old transform. The function is still called

special_aftertrans_update() though...
This commit is contained in:
2005-07-19 11:21:01 +00:00
parent 5f22838822
commit e700b79587
3 changed files with 13 additions and 33 deletions

View File

@@ -1330,7 +1330,7 @@ static void set_trans_object_base_flags(TransInfo *t)
}
}
void clear_trans_object_base_flags(void)
static void clear_trans_object_base_flags(void)
{
Base *base;
@@ -1344,7 +1344,7 @@ void clear_trans_object_base_flags(void)
}
/* inserting keys, refresh ipo-keys, softbody, redraw events... (ton) */
void special_aftertrans_update(char mode, int flip, short cancelled)
void special_aftertrans_update(short cancelled)
{
Object *ob;
Base *base;
@@ -1406,8 +1406,9 @@ void special_aftertrans_update(char mode, int flip, short cancelled)
while(base) {
if(base->flag & BA_DO_IPO) redrawipo= 1;
ob= base->object;
/* reset soft body object */
if(ob->softflag & OB_SB_ENABLE) sbObjectReset(ob);
/* Set autokey if necessary */
@@ -1437,6 +1438,8 @@ void special_aftertrans_update(char mode, int flip, short cancelled)
}
clear_trans_object_base_flags();
if(redrawipo) {
allqueue(REDRAWNLA, 0);
allqueue(REDRAWACTION, 0);