Blender Git Loki

Git Commits -> Revision 805cabd

Revision 805cabd by Sybren A. Stüvel (master)
July 9, 2019, 09:52 (GMT)
Fix T64483: crash when hovering over outliner after closing render window

The `tselem->id` pointer can also be used for non-ID data (according to
this comment in DNA_outliner_types.h:

```
/* XXX We actually also store non-ID data in this pointer for identifying
* the TreeStoreElem for a TreeElement when rebuilding the tree. Ugly! */
```

As such, I don't mind adding a `NULL`-check in the
`is_object_data_in_editmode()` function. After all, when there is no
object, its data certainly is not in edit mode.

Commit Details:

Full Hash: 805cabdf177af6c71da6239ff3fc5d2524286a18
Parent Commit: 2b43ec5
Lines Changed: +4, -0

1 Modified Path:

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