Armature speed ups, Part I

--------------------------

Major speed up for armatures during times when you aren't
posing a figure.

Background: the calculation of poses generated by actions and the
calculation of displists were getting somewhat out of sync.
This was being remedied by 'clearing the constraint done flag'
of the pose channels and recalculating the displists every time
the 3d view was redrawn, making life slow and unpleasant.
Commenting out the code that was doing this, then reinserting
the 'clearing the constraint done flag' at the right times
made things a bit more perky.
This commit is contained in:
Chris Want
2004-01-02 23:29:34 +00:00
parent 251c11cca1
commit a5a01ed549
8 changed files with 197 additions and 10 deletions

View File

@@ -3551,7 +3551,8 @@ void draw_object(Base *base)
case OB_MESH:
me= ob->data;
#if 1
#if 0
/* this is a source of great slowness */
#ifdef __NLA
/* Force a refresh of the display list if the parent is an armature */
if (ob->parent && ob->parent->type==OB_ARMATURE && ob->partype==PARSKEL){