Blender Git Commits

Blender Git "master" branch commits.

Page: 2252 / 5574

November 10, 2016, 09:49 (GMT)
Added bpy.types.ID.make_local() that can make a single ID block local.

This new `bpy.types.ID.make_local(clear_proxies=True)` allows Python
code to press the "Make Local" button on any ID block. I chose
`clear_proxies=True` as the default, since it's the default behaviour
of `id_make_local()` (defined in `library.c`).

The caller does need to take care of ensuring that linked-in objects
don't refer to local data, and that proxies aren't broken.

Reviewers: sergey, mont29

Reviewed By: mont29

Subscribers: dfelinto

Differential Revision: https://developer.blender.org/D2346
November 10, 2016, 09:48 (GMT)
let cmake handle calling msbuild for windows buildbots
November 9, 2016, 18:27 (GMT)
Fix UI message.
November 9, 2016, 16:09 (GMT)
BMesh: face-join, remove redundant face assignment

Keep ifdef'd out for holes, this isn't needed currently.
November 9, 2016, 16:00 (GMT)
Depsgraph: Fix crash deleting bones in armature edit mode

For the new dependency graph we have to rebuild graph when
bones "topology" are changing.
November 9, 2016, 15:42 (GMT)
Fix some assert when making local (due to infamous PITA ShapeKey ID).
November 9, 2016, 14:03 (GMT)
BMesh: Cleanup, remove hole ifdef
November 9, 2016, 13:36 (GMT)
Merge remote-tracking branch 'origin/master' into blender2.8
November 9, 2016, 12:59 (GMT)
BMesh: face-flip, no need for temporary edge-array

Reverse loops in-place.
Revision a0ae6d7 by Mike Erwin
November 9, 2016, 04:53 (GMT)
OpenGL: manage built-in shaders better

As our library of built-in shaders grows, it's important to create, access, and discard them efficiently.

Lookup via GPU_shader_get_builtin is now constant time instead of linear (# of built-in shaders). This is called very often with our new immediate mode.

Creation and discard are unified.

Adding a new shader requires fewer steps.

365 lines shorter :D
November 8, 2016, 23:06 (GMT)
Fix: setting an audio callback before audio device initialization.
November 8, 2016, 16:54 (GMT)
Depsgraph: Use atomics to tag ID when evaluating driver

This is required since new dependency graph evaluates drivers in threads
so it was possible to have some partially written ID tag there.
Revision 2b726b0 by Mike Erwin
November 8, 2016, 16:12 (GMT)
blender 2.8: OpenGL immediate mode: node_draw_preview_background

all is in the title.

Reviewers: merwin

Tags: #bf_blender_2.8, #opengl_gfx

Maniphest Tasks: T49043

Differential Revision: https://developer.blender.org/D2336
November 8, 2016, 16:12 (GMT)
Atomics: Add 32 bit version of fetch and AND/OR
Revision 12bce04 by Mike Erwin
November 8, 2016, 16:08 (GMT)
Blender 2.8: OpenGL: new immediate mode for paint_image.c

This one is for the straight line (white with width 2.0 over a black with width 4.0) drawn when you use the gradient tool.

To test: Image editor, create / open an image, choose image paint mode and on the tool shelf: choose the Fill brush and enable "Use Gradient" for it. Then click and drag on the image.

From what I checked, calls to glLineWidth are not being removed yet, so I kept them.

Reviewers: dfelinto, Severin, merwin

Reviewed By: merwin

Tags: #bf_blender_2.8, #opengl_gfx

Maniphest Tasks: T49043

Differential Revision: https://developer.blender.org/D2312
Revision f90b480 by Mike Erwin
November 8, 2016, 15:55 (GMT)
OpenGL: wm_operators.c uses new immediate mode

D2311 by @ianwill

This is the radial control that appears when we change the size of a brush in sculpt and vertex and texture painting modes, by pressing "f".

Also includes a new built-in shader that can be useful in other places.

Part of T49043
Revision 4e80bd2 by Mike Erwin
November 8, 2016, 15:10 (GMT)
Blender 2.8: OpenGL: new immediate mode API for screendump.c

It's the screencast cursor, tested here, compared to original, seems to be working fine.

Reviewers: dfelinto, Severin, merwin

Reviewed By: merwin

Tags: #bf_blender_2.8, #opengl_gfx

Maniphest Tasks: T49043

Differential Revision: https://developer.blender.org/D2306
November 8, 2016, 13:09 (GMT)
BMesh: remove edge search when flipping faces

Replace search with direct lookup.
November 8, 2016, 10:54 (GMT)
Fix memory leak when Blender is build without Bullet and files with RB is opened
November 8, 2016, 10:16 (GMT)
Fix T49838: Noise randomization for frame should be done per interframes as well

Add subframe to the animated seed hash calculation.

Should be no difference for the regular files, only for cases when scene is
rendered from sequencer with a speed effect, which is not really a common thing.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021