Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-03-05 19:39:52 +0300
committerJulian Eisel <julian@blender.org>2021-03-05 19:46:49 +0300
commitae005393dce4746c0ee97887ea1a81281a1f726f (patch)
treee251b50783fd7bfa20137534a276ef62fde99394 /source/blender/editors/space_outliner/outliner_tree.c
parentb9e54566e3b1a49d9757680da64d8e19c136c706 (diff)
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.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_tree.c')
0 files changed, 0 insertions, 0 deletions