[Bf-blender-cvs] [d648501e280] blender2.8: BMesh: define suptype for bevel normals.out

Campbell Barton noreply at git.blender.org
Tue Aug 14 14:23:14 CEST 2018


Commit: d648501e28049d294a69b38d7267d33a8cf2d39e
Author: Campbell Barton
Date:   Tue Aug 14 22:26:19 2018 +1000
Branches: blender2.8
https://developer.blender.org/rBd648501e28049d294a69b38d7267d33a8cf2d39e

BMesh: define suptype for bevel normals.out

Not doing this broke doc building.

===================================================================

M	source/blender/bmesh/intern/bmesh_opdefines.c

===================================================================

diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c
index d9093e774e6..ef9c510aea1 100644
--- a/source/blender/bmesh/intern/bmesh_opdefines.c
+++ b/source/blender/bmesh/intern/bmesh_opdefines.c
@@ -1746,7 +1746,7 @@ static BMOpDefine bmo_bevel_def = {
 	{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}}, /* output faces */
 	 {"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}}, /* output edges */
 	 {"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}}, /* output verts */
-	 {"normals.out", BMO_OP_SLOT_MAPPING},				/* output normals per vertex for beveled edges */
+	 {"normals.out", BMO_OP_SLOT_MAPPING,  {(int)BMO_OP_SLOT_SUBTYPE_MAP_ELEM}}, /* output normals per vertex for beveled edges */
 	 {{'\0'}},
 	},



More information about the Bf-blender-cvs mailing list