diff --git a/source/blender/editors/interface/interface_anim.cc b/source/blender/editors/interface/interface_anim.cc index 9b0cf8d2c0b..4bc2f9b9edb 100644 --- a/source/blender/editors/interface/interface_anim.cc +++ b/source/blender/editors/interface/interface_anim.cc @@ -27,7 +27,6 @@ #include "DEG_depsgraph_build.hh" -#include "ED_anim_api.hh" #include "ED_keyframing.hh" #include "ANIM_fcurve.hh" @@ -313,7 +312,6 @@ bool ui_but_anim_expression_create(uiBut *but, const char *str) void ui_but_anim_autokey(bContext *C, uiBut *but, Scene *scene, float cfra) { - ANIM_deselect_keys_in_animation_editors(C); blender::animrig::autokeyframe_property( C, scene, &but->rnapoin, but->rnaprop, but->rnaindex, cfra, true); } diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.cc b/source/blender/editors/sculpt_paint/paint_image_proj.cc index acf033d3d11..5ac7403fb3a 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.cc +++ b/source/blender/editors/sculpt_paint/paint_image_proj.cc @@ -6809,6 +6809,7 @@ static bool proj_paint_add_slot(bContext *C, wmOperator *op) DEG_id_tag_update(&ntree->id, 0); DEG_id_tag_update(&ma->id, ID_RECALC_SHADING); + DEG_relations_tag_update(bmain); ED_area_tag_redraw(CTX_wm_area(C)); ED_paint_proj_mesh_data_check(*scene, *ob, nullptr, nullptr, nullptr, nullptr); diff --git a/source/blender/makesrna/intern/rna_nodetree.cc b/source/blender/makesrna/intern/rna_nodetree.cc index 06569786651..6e4d5a945af 100644 --- a/source/blender/makesrna/intern/rna_nodetree.cc +++ b/source/blender/makesrna/intern/rna_nodetree.cc @@ -3151,6 +3151,7 @@ static void rna_Node_tex_image_update(Main *bmain, Scene * /*scene*/, PointerRNA BKE_ntree_update_tag_node_property(ntree, node); BKE_main_ensure_invariants(*bmain, ntree->id); + DEG_relations_tag_update(bmain); WM_main_add_notifier(NC_IMAGE, nullptr); }