Blender Git Commit Log

Git Commits -> Revision b6a795f

Revision b6a795f by Dalai Felinto (master)
October 26, 2018, 16:48 (GMT)
Small cleanup: Remove uneeded/wrong check

If ob was NULL it would crash in the else part of the if statement.
If we really think we may run into that (which we should not) we can just assert
or add a if (ob == NULL) return; in the top of the function.

Commit Details:

Full Hash: b6a795f28586f436cf01e8a348f998d6b3dfaf4d
Parent Commit: f1974bb
Lines Changed: +1, -1

1 Modified Path:

/source/blender/blenkernel/intern/object_deform.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021