Blender Git Commits

Blender Git "master" branch commits.

Page: 1303 / 5574

March 3, 2019, 18:56 (GMT)
Annotations: Make strokes smoother

When move the mouse/pen very fast, the events were not enough to create smooth strokes.

I have used a simplified version of the same logic used with grease pencil objects to smooth annotations.
March 3, 2019, 18:02 (GMT)
Icons: Make blender_icons_geom_update.py support macOS
March 3, 2019, 16:00 (GMT)
DNA: optimize data reconstruction

Cache the result of DNA_elem_array_size which was being called
for each element when reconstructing each struct.

Also skip padding members during reconstruction.

Gives ~18% overall speedup loading 10_010_A.anim.blend (r3154)
from the spring project.
March 3, 2019, 14:18 (GMT)
DNA: rename BezTriple alfa to tilt
March 3, 2019, 14:01 (GMT)
Cleanup: rename FileData.listbase -> bhead_list

Having the name matching the type isn't so meaningful.
March 3, 2019, 13:51 (GMT)
UI: subtle outline for negative 3D view gizmo axes

Without this they can blend in visually with the backdrop of the gizmo.
March 3, 2019, 13:13 (GMT)
UI: use grey for 3D view axis gizmo highlight

Using white with low alpha made it hard to use on a white background.
Since the axes themselves highlight to white.
March 3, 2019, 12:57 (GMT)
Tools: Remove parenthesis from Spin Duplicates tool name
March 3, 2019, 11:37 (GMT)
Tools: Add Shrink/Fatten to Curve Edit Toolbar
March 3, 2019, 09:58 (GMT)
UI: Add Shrink/Fatten to curve contextual menus
March 3, 2019, 01:15 (GMT)
UI: increase 3D view icon contrast over light colors

- Avoid using white with low alpha to make grey.
Note that this is the second time we've run into this problem: T59626.

- Use a light backdrop when the icons are dark
so they're visible over a black background.
March 3, 2019, 00:01 (GMT)
Improve slightly the stability of wireframes in old GPUs from AMD.

Tested on `AMD Radeon HD 7570M`.
The reason for crash reduction is still unknown.
March 2, 2019, 21:00 (GMT)
Refactor duplicate code for collections.

* Fix incorrect handling of children collections being linked more than
once in the hierarchy (previous code would make a new copy for each
link, instead of just re-linking the first copy for each extra link).

* Simplify some aspects of it (we do not need a GHash for new objects,
we can use ID->newid pointer instead, and some iterations can be done
directly on existing linked lists of old collection, instead of making
temp local copies of them).

* Move all copy logic into a single private recursive function (it was a
bit odd/disturbing to see calling function being indirectly called again
by the recursive helper one - not wrong, but that kind of code path can
quickly become problematic in recursive patterns).

* Added some comments about expected behavior of
`BKE_collection_duplicate()` depending on its booleans options.
March 2, 2019, 15:29 (GMT)
Cleanup: comma warning
March 2, 2019, 14:29 (GMT)
Cleanup: SDNA/DNA naming

Use 'size' instead of 'len' to represent the size of data in bytes,
'len' is used for the result of 'strlen' or the length of an array
in some parts of 'makesdna.c' & 'dna_genfile.c'.

Also clarify comments and some variable names, no functional changes.
March 2, 2019, 13:28 (GMT)
GPencil: Set alpha to 1 for all materials in SOLID mode

To be consistent, the alpha must be set to 1 when solid mode is enabled.
March 2, 2019, 13:15 (GMT)
GPencil: Initialize Fill alpha to 1.0 by default for new materials
March 2, 2019, 13:13 (GMT)
GPencil: Set Viewport color to black by default

As the 2D viewport color is white, if the object default color is white, when wireframe is enabled the object is invisible.

Now, the grease pencil object default viewport color is black.
March 2, 2019, 12:59 (GMT)
GPencil: Fix Display Textures in Solid mode

There was a bug when selected Solid mode with Material or Texture mode. The textures were not visible.

Now, the mode is passed to shaders to decide if use the solid color or the result texture color. The mode is passed using an array with shading type and mode.
March 2, 2019, 09:31 (GMT)
Fix BLI_mempool incorrect slop-space calculation

Also ensure elements fit evenly into the chunk size
causing allocations to be slightly smaller in some cases.

In own tests reduces overall memory use by about ~4.5%
for high poly meshes in edit-mode.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021