Blender Git Commits

Blender Git "master" branch commits.

Page: 2264 / 5574

Revision 9cdf4af by Mike Erwin
October 16, 2016, 21:48 (GMT)
Gawain: new immUniform4fv function

Revision f7414b7 by Mike Erwin
October 16, 2016, 21:48 (GMT)
fix IS_VIEWPORT_LEGACY macro

Revision d1a35b7 by Julian Eisel
October 16, 2016, 20:23 (GMT)
Fix outliner items sometimes not opening

Own mistake in 9a9a663f40d55. Guessed there is a case where we have to rebuild the tree but everything seemed fine... It didn't work in display modes like "Data-Blocks".
October 16, 2016, 19:24 (GMT)
Fix T49746: crash loading user preferences with missing operators.
Revision 2a53e09 by Julian Eisel
October 16, 2016, 19:08 (GMT)
More fixes for keyframe theme options

Couple of issues here:
* Missing initialization for 3D view keyframe options for "Reset to Default Theme"
* Alpha values not reset correctly on "Reset to Default Theme"
* Alpha values of timeline keyframe options not reset correctly for old files
Also corrected old version patches even though they're overridden later, to avoid more issues in case people copy this code.

Corrections to d7af7a1e04c243 and 8d573aa0ecb61
Revision fa39ec9 by Julian Eisel
October 16, 2016, 18:47 (GMT)
More fixes for keyframe theme options

Couple of issues here:
* Missing initialization for 3D view keyframe options for "Reset to Default Theme"
* Alpha values not reset correctly on "Reset to Default Theme"
* Alpha values of timeline keyframe options not reset correctly for old files
Also corrected old version patches even though they're overridden later, to avoid more issues in case people copy this code.

Corrections to d7af7a1e04c243 and 8d573aa0ecb61
Revision 196654a by Julian Eisel
October 16, 2016, 17:31 (GMT)
Fix crash when joining areas (caused by manipulators)

Manipulator code tried to access the removed region from handler->op_region. Use context region now.
Revision 69713aa by Julian Eisel
October 16, 2016, 15:28 (GMT)
Cleanup: Quiet warnings, use RAD2DEG macro
Revision ad393e1 by Chase Willden / Brecht Van Lommel
October 16, 2016, 14:02 (GMT)
Fix assert in the wrong place, should be moved earlier to do anything.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2304
Revision b557ceb by Julian Eisel
October 16, 2016, 13:33 (GMT)
Merge branch 'master' into blender2.8

Conflicts:
source/blender/editors/space_outliner/outliner_draw.c
source/blender/editors/space_outliner/outliner_edit.c
source/blender/editors/space_outliner/outliner_intern.h
source/blender/editors/space_outliner/outliner_select.c
Revision d59079c by Julian Eisel
October 16, 2016, 13:19 (GMT)
Cleanup: Unused parameters in Outliner

These were only passed to own recursion calls.
Revision b659cb8 by Julian Eisel
October 16, 2016, 12:39 (GMT)
Fix missing outliner redraw when adding VSE strip

Needed for outliner "Sequence" display mode.
Revision 9a9a663 by Julian Eisel
October 16, 2016, 12:29 (GMT)
Outliner: Rework element selection behavior

* LMB now replaces selection instead of adding to it. Shift+LMB adds to selection (or removes if already selected). This is usual selection behavior Blender.
* Outliner selection isn't completely separate from object/sequencer-strip/render-layer/... selection anymore, when selecting an outliner item we now always try to select (and activate) the object it belongs to. Previously you had to click the name or icon of an item to select the object (or whatever) and on empty space within the row to set outliner selection.
* Collapsed items may show click-able icons for their children (nothing new). Clicking on such an icon will also select the hidden item it represents now, you'll notice after opening the parent. This valid from a technical POV, I'm not sure if this is wanted from user POV though. Changing would be easy, feedback welcome!
* Code cleanup.

Part of T37430.
Revision f929045 by Julian Eisel
October 16, 2016, 12:10 (GMT)
Outliner: Avoid rebuilding tree when mouse-hover highlight changes
Revision 3999910 by Mike Erwin
October 16, 2016, 07:18 (GMT)
OpenGL: add GLSL #version 330, drop 140 and 150

GL 3.3 is the new minimum. Compatibility profile for now, core profile eventually. During development, GL 3.0 (on Mesa) and 2.1 (on Mac) will still work.

Part of T49012
Revision 1deab69 by Mike Erwin
October 16, 2016, 06:08 (GMT)
BLF/OpenGL: more text drawing optimization

Make color values compact. Set color once per primitive. Use new immSkipAttrib to avoid useless color copies.

All of this should make text drawing less CPU hungry.
Revision 7419656 by Mike Erwin
October 16, 2016, 05:58 (GMT)
Gawain: new immSkipAttrib function

Now you can explicitly skip a vertex attribute -- you don't give it a value and it won't get a copy of the previous vert's value. Useful for flat interpolated per-primitive values.

This is an advanced feature. Expect garbage in the empty spaces, and copies of garbage if you rely on the attrib copy behavior after skipping.
Revision a4fe823 by Mike Erwin
October 16, 2016, 00:04 (GMT)
BLF/OpenGL: accurate vertex count for drawing

We still need to BeginAtMost instead of simple Begin, since some glyphs could be clipped & not drawn.
Revision a8dc3f4 by Mike Erwin
October 15, 2016, 23:40 (GMT)
BLF: make blurry text an optional (disabled) feature

While trying to simplify text drawing, noticed no Blender code uses the blur feature. Hopefully scripts don't use it!
Revision 878938f by Mike Erwin
October 15, 2016, 23:08 (GMT)
OpenGL: remove some unused legacy matrix calls

Part of T49450
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021