fix: fix text annotation render bug after input text modified
This commit is contained in:
@@ -41,6 +41,7 @@ void TextAnnotationActor::BuildShape() {
|
||||
void TextAnnotationActor::SetTextInput(const char *str) {
|
||||
strcpy_s(mTextStr, str);
|
||||
//BuildShape will be automatically called through render overlay.
|
||||
Modified();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user