Fix T50900: Text-Blocks created from "Edit Source" have zero users.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user