Blender Git Loki

Git Commits -> Revision ae00539

Revision ae00539 by Julian Eisel (master)
March 5, 2021, 16:46 (GMT)
Fix incorrect assert in Outliner ID deletion

Mistake in aa3a4973a30f. The expanded `ELEM()` check would include
`0 && te->idcode != 0`, which always evaluates to `false`/`0`. That
wouldn't cause the asset to fail, but the `te->idcode` part would never
be checked.

Fixed the error and cleaned up the check against "0" with a check
against `TSE_SOME_ID`, see b9e54566e3b1a.

Commit Details:

Full Hash: ae005393dce4746c0ee97887ea1a81281a1f726f
Parent Commit: b9e5456
Lines Changed: +2, -1

1 Modified Path:

/source/blender/editors/space_outliner/outliner_edit.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021