[Bf-blender-cvs] [9a763d24f2b] master: Fix missing update selecting 3D text-box

Campbell Barton noreply at git.blender.org
Wed Mar 16 03:54:04 CET 2022


Commit: 9a763d24f2b50ad38d22cad0a23d7344afe5f1c7
Author: Campbell Barton
Date:   Wed Mar 16 13:40:16 2022 +1100
Branches: master
https://developer.blender.org/rB9a763d24f2b50ad38d22cad0a23d7344afe5f1c7

Fix missing update selecting 3D text-box

===================================================================

M	source/blender/editors/curve/editfont.c

===================================================================

diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c
index 02c7f3856e8..fdd145ff8cf 100644
--- a/source/blender/editors/curve/editfont.c
+++ b/source/blender/editors/curve/editfont.c
@@ -2257,6 +2257,8 @@ bool ED_curve_editfont_select_pick(
     if (cu->actbox != actbox_select) {
       cu->actbox = actbox_select;
       WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data);
+      /* TODO: support #ID_RECALC_SELECT. */
+      DEG_id_tag_update(obedit->data, ID_RECALC_COPY_ON_WRITE);
     }
     return true;
   }



More information about the Bf-blender-cvs mailing list