Blender Git Commit Log

Git Commits -> Revision 1e02a5f

Revision 1e02a5f by Lukas Toenne (master)
December 10, 2014, 16:22 (GMT)
Fix for object_utils.object_data_add: Now supports None obdata for
creating empties.

The documentation says None is a valid argument for obdata (making
empties), but this would cause an exception. Now obdata is only used
when it is defined. An optional name argument can be passed to override
obdata.name as well.

Commit Details:

Full Hash: 1e02a5ff433ab6fd387b71ffe525a56b8b5ea3b7
Parent Commit: d7e4944
Lines Changed: +10, -4

1 Modified Path:

/release/scripts/modules/bpy_extras/object_utils.py (+10, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021