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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user