Blender Git Commit Log

Git Commits -> Revision ec2e8d5

Revision ec2e8d5 by Ton Roosendaal (master)
November 19, 2005, 10:55 (GMT)
Finally switched to porting UI stuff from tuhopuu!

This commit is based on the patch & cool design work of Matt. It includes
the new Lamp drawing style, and replaces the Object center dots with a
similar styled OpenGL drawn dot.

Important side-note is that removing the old glDrawPixels() for centers or
lamps will not only make Blender faster, but also prevents crashing on a
couple of cheaper 3d cards (as reported for S3 and Intel on-board cards)

Notes:
- The new default only draws Object centers when selected or active. If
you like to see them always, use the View Properties Panel. You can also
save that in the .B.blend
- The size for centers (and lamps) is in the User settings "View & Controls"
- Unselected Lamps, and their offset lines from zero Z, are drawn in a new
Theme color

Changes and additions in Matt's patch:
- Lamps and centers are drawn fixed size, in pixels. Also the 'sun' lamp
draws screen aligned now.
- Center dots now also draw in blue to denote Library linkage or to show
that an Object has been linked to other scenes.
- When objects are empty (no vertices) they will always draw a center dot.
Otherwise these objects would never be selectable anymore!
- Added theme setting for center size, and initialization
- Removed the old redundant code for drawing centers
- Cleanup of drawing routines, made center dots faster
- Started removing calls to glBlendFunc(). Regular alpha drawing should
become standard, and the (very) occasional exception should return this
to default after usage.

Commit Details:

Full Hash: ec2e8d53801fad23e30294e28f1b83681d4d0f1f
SVN Revision: 5831
Parent Commit: 97c1350
Lines Changed: +371, -214

14 Modified Paths:

/source/blender/include/BDR_drawobject.h (+0, -1) (Diff)
/source/blender/include/BIF_editarmature.h (+1, -1) (Diff)
/source/blender/include/BIF_resources.h (+3, -1) (Diff)
/source/blender/include/blendef.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -1) (Diff)
/source/blender/python/api2_2x/windowTheme.c (+3, -1) (Diff)
/source/blender/src/buttons_shading.c (+1, -0) (Diff)
/source/blender/src/drawarmature.c (+6, -6) (Diff)
/source/blender/src/drawobject.c (+293, -187) (Diff)
/source/blender/src/drawview.c (+18, -1) (Diff)
/source/blender/src/resources.c (+4, -0) (Diff)
/source/blender/src/space.c (+25, -14) (Diff)
/source/blender/src/usiblender.c (+12, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021