Blender Git Commits

Blender Git "master" branch commits.

Page: 1298 / 5574

March 5, 2019, 21:02 (GMT)
Cleanup: Use GPU_depth_test instead of glEnable/glDisable
March 5, 2019, 21:02 (GMT)
DRW: Fix GL state issues due to state not being reset after drawing

Callbacks were drawing with the wrong blend equation and that made some
tools drawing fail.
March 5, 2019, 20:34 (GMT)
UV/VCol layers creation: add option to not init those new data.

`ED_mesh_uv_texture_add()`/`ED_mesh_color_add()` would always either
copy data from current active one, or (for UVs), generate default
'valid' UVs for every face.

This commit adds an option to not do that, just keeping default values
from raw CDLayer creation. It is only used/exposed from RNA API
currently.

This is especially useful for importer add-ons, since some formats
support multiple layers of those kind, as well as 'partial' dataset not
explicitely defining values for all mesh items.

Preliminary step to fix T62224.
March 5, 2019, 20:05 (GMT)
File Editor: Refactor 'new dir' / renaming code.

We really do not need two 256 chars variables to hanlde renaming, a mere
pair of flags can handle the situation just as well.

Also, scroll to newly renamed item, will help when one want to find
again the directory they just added and rename.

At some point we'll probably want to refactor scrolling further (to make
it fully out of rename code/context e.g.), but for now think this will do.
March 5, 2019, 20:05 (GMT)
Fix T58715: File Browser: Creating "New Folder" issues with too many existing folders in display.

Smotthscroll to edited entry was broken since filelisting was
rewritten to become async...
March 5, 2019, 18:20 (GMT)
Fix T61063, T62195: Python scripts should run before depsgraph evaluation.

This was changed (accidentally?) in d192d723123a, now go back to behavior more
similar to 2.7. Python scripts should be able to set up drivers or do other
changes that will then be taken into account when evaluating the scene for the
first time.

The more tricky thing is that Python scripts now run before ED_editors_init,
but given what happens in there it seems safe.
March 5, 2019, 18:14 (GMT)
Merge branch 'blender2.7'
March 5, 2019, 18:06 (GMT)
Fix T62112: wrong curve face count

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4452
March 5, 2019, 18:05 (GMT)
Cleanup: add asserts to catch cases where wrong attribute type is used.
March 5, 2019, 17:58 (GMT)
Fix T61778: Crash when adding material slot to object

For some reason the mat_nr can be superior to the number of material slots
present on an object. Just cap this number to the max available slot.
March 5, 2019, 17:39 (GMT)
Fix Cycles bug rendering with multiple UV maps after recent changes.
March 5, 2019, 16:24 (GMT)
GPUMaterial: Make Shader Output nodes inside nodegroups work

Works as expected and mimics Cycles behavior.

The patch is a bit hacky: In order to not touch the lower level function,
we search for the active output inside groups (recursively) and the first
valid one is then copied (or extracted if you want) in the previous parent
nodetree. So we recursively extract the output node back to the main
nodetree while preserving the links through the nodegroups interfaces.

This way everything works as expected in gpu tree evaluation and bsdf
tagging.

Fix T61869 Material Output Node Inside Node Group Renders Pink in Eevee
March 5, 2019, 16:24 (GMT)
DRW: Fix rasterizer discard messing with clear commands

Fixes T62179 Viewport Ghosting on rigs
March 5, 2019, 16:17 (GMT)
BLI_memiter: use ASAN memory poison

Detects invalid memory use when WITH_COMPILER_ASAN is enabled.
March 5, 2019, 16:06 (GMT)
UI: Nicer report when trying to edit external libraries

Rename 'libdata' to 'library data'.
March 5, 2019, 15:49 (GMT)
Cleanup: warning in release builds
March 5, 2019, 15:44 (GMT)
Fix T62208: constant detail picker not taking object scale into account
March 5, 2019, 15:42 (GMT)
DRW: use memiter for on screen text allocation

Avoid allocation for each string,
improves redraw speed for text heavy views.

A contrived test showed FPS ~18.5% speedup but this doesn't represent
typical usage.
March 5, 2019, 15:23 (GMT)
Fix T62210: endless loop in kd tree lookup

The problem was that `balance` expected that all node children
are set to `KD_NODE_UNSET` by default.
However, this might not be the case when `balance` is called
more than once.

The balance function might change the order of nodes even
when no new point has been inserted.
March 5, 2019, 14:48 (GMT)
RNA: remove Screen.layout_name

This is no longer used.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021