Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021