Events added for:

- clear parent (didn't do a recalc data for deformed objects)
- add/remove object name in modifier menu (redraw event)
This commit is contained in:
2005-07-22 21:42:56 +00:00
parent 365bea41d6
commit dcf210b826
2 changed files with 3 additions and 2 deletions

View File

@@ -799,7 +799,7 @@ void clear_parent(void)
if(mode==1 || mode==2) {
par= base->object->parent;
base->object->parent= NULL;
base->object->recalc |= OB_RECALC_OB;
base->object->recalc |= OB_RECALC;
if(mode==2) {
base->object->track= NULL;
@@ -808,7 +808,7 @@ void clear_parent(void)
}
else if(mode==3) {
Mat4One(base->object->parentinv);
base->object->recalc |= OB_RECALC_OB;
base->object->recalc |= OB_RECALC;
}
}
base= base->next;