Fix for bug #17588: crash with ctrl+a and no active object.

This commit is contained in:
2008-09-09 20:09:54 +00:00
parent 84d7e2ea9c
commit df1d59805f
2 changed files with 2 additions and 5 deletions

View File

@@ -4138,6 +4138,7 @@ void apply_object( void )
}
else {
ob= OBACT;
if(ob==0) return;
if ((ob->pose) && (ob->flag & OB_POSEMODE))
evt = pupmenu("Apply Object%t|Current Pose as RestPose%x3");