branches/blender-2.47

Merge from trunk:
	Revision: 14979                                                                 
	Revision: 14982                                                                 
	Revision: 14987
This commit is contained in:
Diego Borghetti 2008-05-27 03:55:06 +00:00
parent ea4470eb11
commit 1563fdb1e9
3 changed files with 10 additions and 1 deletions

View File

@ -828,7 +828,7 @@ static PyObject *Part_GetLoc( BPy_PartSys * self, PyObject * args ){
/* little hack to calculate hair steps in render mode */
psys->renderdata = (void*)(int)1;
psys_cache_paths(ob, psys, cfra, 0);
psys_cache_paths(ob, psys, cfra, 1);
psys->renderdata = NULL;

View File

@ -659,6 +659,10 @@ void pose_copy_menu(void)
free_constraints(&pchan->constraints);
copy_constraints(&pchan->constraints, &pchanact->constraints);
pchan->constflag = pchanact->constflag;
if (ob->pose) {
ob->pose->flag |= POSE_RECALC;
}
}
break;
case 6: /* Transform Locks */
@ -741,6 +745,10 @@ void pose_copy_menu(void)
}
BLI_freelistN(&const_copy);
update_pose_constraint_flags(ob->pose); /* we could work out the flags but its simpler to do this */
if (ob->pose) {
ob->pose->flag |= POSE_RECALC;
}
}
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA); // and all its relations

View File

@ -4054,6 +4054,7 @@ void createTransData(TransInfo *t)
t->flag |= T_POINTS;
}
else {
t->flag &= ~T_PROP_EDIT; /* no proportional edit in object mode */
createTransObject(t);
t->flag |= T_OBJECT;
}