Bugfixes:
* After changing driver target settings, the driver F-Curves now have their "disabled" flags cleared, so that they will be updated immediately instead of needing a manual "Update Dependencies" flush * Little comment tweak to appease my text editor
This commit is contained in:
@@ -1236,7 +1236,7 @@ static short test_special_char(char ch)
|
||||
case ':':
|
||||
case ';':
|
||||
case '\'':
|
||||
case '\"':
|
||||
case '\"': // " - an extra closing one for Aligorith's text editor
|
||||
case '<':
|
||||
case '>':
|
||||
case ',':
|
||||
@@ -4220,6 +4220,7 @@ static int ui_but_menu(bContext *C, uiBut *but)
|
||||
|
||||
/* Keyframes */
|
||||
if(but->flag & UI_BUT_ANIMATED_KEY) {
|
||||
/* replace/delete keyfraemes */
|
||||
if(length) {
|
||||
uiItemBooleanO(layout, "Replace Keyframes", ICON_NONE, "ANIM_OT_keyframe_insert_button", "all", 1);
|
||||
uiItemBooleanO(layout, "Replace Single Keyframe", ICON_NONE, "ANIM_OT_keyframe_insert_button", "all", 0);
|
||||
@@ -4230,6 +4231,11 @@ static int ui_but_menu(bContext *C, uiBut *but)
|
||||
uiItemBooleanO(layout, "Replace Keyframe", ICON_NONE, "ANIM_OT_keyframe_insert_button", "all", 0);
|
||||
uiItemBooleanO(layout, "Delete Keyframe", ICON_NONE, "ANIM_OT_keyframe_delete_button", "all", 0);
|
||||
}
|
||||
|
||||
/* keyframe settings */
|
||||
uiItemS(layout);
|
||||
|
||||
|
||||
}
|
||||
else if(but->flag & UI_BUT_DRIVEN);
|
||||
else if(is_anim) {
|
||||
@@ -4272,6 +4278,7 @@ static int ui_but_menu(bContext *C, uiBut *but)
|
||||
}
|
||||
|
||||
/* Keying Sets */
|
||||
// TODO: check on modifyability of Keying Set when doing this
|
||||
if(is_anim) {
|
||||
uiItemS(layout);
|
||||
|
||||
|
||||
@@ -139,6 +139,7 @@ static void rna_DriverTarget_update_data(Main *bmain, Scene *scene, PointerRNA *
|
||||
/* find the driver this belongs to and update it */
|
||||
for (fcu=adt->drivers.first; fcu; fcu=fcu->next) {
|
||||
driver= fcu->driver;
|
||||
fcu->flag &= ~FCURVE_DISABLED;
|
||||
|
||||
if (driver) {
|
||||
// FIXME: need to be able to search targets for required one...
|
||||
|
||||
Reference in New Issue
Block a user