Blender Git Loki

Git Commits -> Revision fd0b742

Revision fd0b742 by Dalai Felinto (master)
June 17, 2014, 15:16 (GMT)
Bake-API: allow custom UV to be baked

Note: the custom UV option is only available when calling the operator
via a script. It's currently not exposed in the UI since it's intended
to be used by scripters

To test it:
bpy.ops.object.bake(type='UV', use_clear=True, uv_layer='MyNewUV')

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D546

Commit Details:

Full Hash: fd0b74280e05025d99195bc1ea73815551ecba8a
Parent Commit: fa257ad
Lines Changed: +35, -11

3 Modified Paths:

/source/blender/editors/object/object_bake_api.c (+25, -8) (Diff)
/source/blender/render/extern/include/RE_bake.h (+1, -1) (Diff)
/source/blender/render/intern/source/bake_api.c (+9, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021