Fix own mistake unlinking text (recent commit)
This commit is contained in:
parent
27cfd291c6
commit
32125c40d3
|
@ -606,7 +606,7 @@ void BKE_text_unlink(Main *bmain, Text *text)
|
|||
}
|
||||
}
|
||||
|
||||
for (te = bmain->tex.first; mat; mat = mat->id.next) {
|
||||
for (te = bmain->tex.first; te; te = te->id.next) {
|
||||
ntree = te->nodetree;
|
||||
if (!ntree)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue