Blender Git Commit Log

Git Commits -> Revision 0a93fd7

Revision 0a93fd7 by Campbell Barton (ui-preview-buttons)
May 11, 2015, 03:41 (GMT)
API naming: get -> ensure

Use the term `***_ensure()` for functions which do a lookup and add the data if its not there,
keep `***_get()` for fast access functions which just return the data if its available.

Otherwise its easy to accidentally add by what looks like reading/checking for the data's existance.

Commit Details:

Full Hash: 0a93fd769c5d7778e2b6dbfd1c147a86c6b42f01
Parent Commit: 5e72724
Lines Changed: +19, -19

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020