Orange; stuff for the animation department!

- Found the potential crasher for sound playback & undo. Test!
- PoseMode: NKey panel didn't work when actions where assigned
- NLA: "Add action strip" now displays in menu to which active object the
  actions are added.
This commit is contained in:
2006-01-03 12:04:05 +00:00
parent 4bc4eac1e5
commit 832f2d33d3
4 changed files with 19 additions and 6 deletions

View File

@@ -681,7 +681,10 @@ void BIF_undo(void)
else if(curarea->spacetype==SPACE_IMAGE && (G.sima->flag & SI_DRAWTOOL));
else {
/* now also in faceselect mode */
if(U.uiflag & USER_GLOBALUNDO) BKE_undo_step(1);
if(U.uiflag & USER_GLOBALUNDO) {
BKE_undo_step(1);
sound_initialize_sounds();
}
}
}
}
@@ -699,7 +702,10 @@ void BIF_redo(void)
vpaint_undo();
else {
/* includes faceselect now */
if(U.uiflag & USER_GLOBALUNDO) BKE_undo_step(-1);
if(U.uiflag & USER_GLOBALUNDO) {
BKE_undo_step(-1);
sound_initialize_sounds();
}
}
}
}