[Bf-blender-cvs] [b94d34915fe] blender2.8: Textbox removal and creation should update text data
Dalai Felinto
noreply at git.blender.org
Mon Sep 10 18:42:14 CEST 2018
Commit: b94d34915fe345e3bba54bb0a4c91aba5bed5456
Author: Dalai Felinto
Date: Mon Sep 10 13:40:20 2018 -0300
Branches: blender2.8
https://developer.blender.org/rBb94d34915fe345e3bba54bb0a4c91aba5bed5456
Textbox removal and creation should update text data
===================================================================
M source/blender/editors/curve/editfont.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list