Fix T56636: Custom property cannot be animated
No need to tag object for time update, with new dependency graph this forces animation to be re-evaluated, which is not something we want in this instance. Same patch/solution Philipp Oeser came to as well.
This commit is contained in:
parent
eba9c1507a
commit
b4ebb9d8ef
Notes:
blender-bot
2023-06-12 00:52:52 +02:00
Referenced by issue #56636, Custom property cannot be animated
|
@ -2097,7 +2097,7 @@ static void rna_property_update(bContext *C, Main *bmain, Scene *scene, PointerR
|
|||
if (!is_rna || (prop->flag & PROP_IDPROPERTY)) {
|
||||
/* WARNING! This is so property drivers update the display!
|
||||
* not especially nice */
|
||||
DEG_id_tag_update(ptr->id.data, OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME);
|
||||
DEG_id_tag_update(ptr->id.data, OB_RECALC_OB | OB_RECALC_DATA);
|
||||
WM_main_add_notifier(NC_WINDOW, NULL);
|
||||
/* Not nice as well, but the only way to make sure material preview
|
||||
* is updated with custom nodes.
|
||||
|
|
Loading…
Reference in New Issue