Textbox removal and creation should update text data
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user