diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-09-10 19:40:20 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-09-10 19:41:56 +0300 |
commit | b94d34915fe345e3bba54bb0a4c91aba5bed5456 (patch) | |
tree | 476ae7325264e2a11fc1dfb4137f97e2a8afccd0 /source/blender/editors/curve | |
parent | a01fe76ded36beb5dbd0b1cf72ce3c92ab989a27 (diff) |
Textbox removal and creation should update text data
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r-- | source/blender/editors/curve/editfont.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c index 6725817e35d..06daa2688c5 100644 --- a/source/blender/editors/curve/editfont.c +++ b/source/blender/editors/curve/editfont.c @@ -1453,6 +1453,7 @@ static int textbox_add_exec(bContext *C, wmOperator *UNUSED(op)) cu->totbox++; } + DEG_id_tag_update(obedit->data, 0); WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data); return OPERATOR_FINISHED; } @@ -1495,6 +1496,7 @@ static int textbox_remove_exec(bContext *C, wmOperator *op) cu->actbox--; } + DEG_id_tag_update(obedit->data, 0); WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data); return OPERATOR_FINISHED; |