Fix T50900: Text-Blocks created from "Edit Source" have zero users.
This commit is contained in:
parent
9d6acc34a1
commit
15eb83c8b3
@ -739,6 +739,7 @@ static int editsource_text_edit(
|
||||
|
||||
if (text == NULL) {
|
||||
text = BKE_text_load(bmain, filepath, bmain->name);
|
||||
id_us_ensure_real(&text->id);
|
||||
}
|
||||
|
||||
if (text == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user