Blender Git Loki

Git Commits -> Revision 19f15f6

Revision 19f15f6 by Joshua Leung (master)
August 28, 2007, 11:29 (GMT)
Patch #7081:
Submitted by: David Bryant

This patch adds 2 new drawtypes for empties (circle draws a 2d-circle on the x-z plane, and cube draws a regular cube), and allows empties to be used as custom bone shapes.

I've modified the patch a bit to fix up weird formatting, optimising the circle-drawing method, but the cube-drawing function has been maintained. In the process, I also moved the mesh-specific code in draw_object_instance to draw_object_mesh_instance so that empties can be used by whatever else might use draw_object_instance too.

Commit Details:

Full Hash: 19f15f6ab34e2a23c3c4eec98ce27464f3982534
SVN Revision: 11868
Parent Commit: caa804e
Lines Changed: +163, -150

4 Modified Paths:

/source/blender/makesdna/DNA_object_types.h (+1, -0) (Diff)
/source/blender/src/buttons_editing.c (+1, -1) (Diff)
/source/blender/src/drawarmature.c (+1, -1) (Diff)
/source/blender/src/drawobject.c (+160, -148) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021