Blender Git Commits

Blender Git "master" branch commits.

Page: 1247 / 5574

April 7, 2019, 09:30 (GMT)
Cleanup: add comments about dual quaternion scale handling.

Ref T63327
April 7, 2019, 09:24 (GMT)
Merge branch 'blender2.7'
Revision d780409 by Robert-André Mauchin / Brecht Van Lommel
April 7, 2019, 09:20 (GMT)
Fix for GCC9 new OpenMP data sharing

GCC 9 started implementing the OpenMP 4.0 and later behavior. When not using
default clause or when using default(shared), this makes no difference, but
if using default(none), previously the choice was not specify the const
qualified variables on the construct at all, or specify in firstprivate
clause. In GCC 9 as well as for OpenMP 4.0 compliance, those variables need
to be specified on constructs in which they are used, either in shared or
in firstprivate clause. Specifying them in firstprivate clause is one way to
achieve compatibility with both older GCC versions and GCC 9,
another option is to drop the default(none) clause.

This patch thus drops the default(none) clause.

See https://gcc.gnu.org/gcc-9/porting_to.html#ompdatasharing

Signed-off-by: Robert-Andr� Mauchin <zebob.m@gmail.com>
April 7, 2019, 07:37 (GMT)
GPencil: Set layer channel custom color to all line in Dopesheet

See D4645 for more details
April 7, 2019, 00:43 (GMT)
Merge branch 'blender2.7'
April 7, 2019, 00:41 (GMT)
Fix build error with Visual Studio, appears to be a compiler bug

It's not clear that "if (0 &&" was introduced intentionally, but this test
only seems to have been an insignificant optimization anyway.

Fixes T63329
April 6, 2019, 12:26 (GMT)
Fix T59014: black/corrupted viewport with Intel HD on Windows 7/8.

Work around bug in the Intel driver:
https://software.intel.com/en-us/forums/graphics-driver-bug-reporting/topic/550740
April 6, 2019, 12:26 (GMT)
GHOST: tweak warning message about OpenGL 3.3.
April 5, 2019, 23:55 (GMT)
DRW: Opti: Fix hotspot in DRW_mesh_batch_cache_get_surface_shaded

The hotspot was generated by mesh_cd_layers_type_overlap who was testing
way more data than it should have.

Here we reduce the whole CD layer mask to a 32bit bitflag that is easily
or'ed and tested.

Bonus point: We use atomic operation to merge the mask in order to allow
future multi-threading. (this was a TODO)

In the scene attached to T58188 this removes 5% of CPU time.
April 5, 2019, 19:15 (GMT)
GPU: Fix typo
April 5, 2019, 19:15 (GMT)
DRW: Opti: Replace bound tex/ubo tracking array by bitfields

release_texture_slots() and release_ubo_slots() were one hotspot when
drawing taking ~9% of total CPU counters for no reason.

This was because of the loops using GPU_max_textures that was overkill and
slow.

Replace those by a simple 64bit bitwise OR operation.
April 5, 2019, 16:50 (GMT)
Cleanup: Fix compiler warning
April 5, 2019, 15:48 (GMT)
Fix T61035 Draw manager crash opening file with curves

Move free callback call to GPU_batch_discard to prevent the crash.

The issue was that clearing can happen after referencing to an instance
buffer and that's perfectly legal.
April 5, 2019, 14:31 (GMT)
Fix T63281: Drivers inside nodegroups inside nodegroups don't show up in Driver Editor

Recurse into node groups when looking for drivers.

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D4653
April 5, 2019, 13:03 (GMT)
EEVEE: Fix compilation

Introduced by f0d6879f5c7998be98ac406bd6ddaa5104961206
April 5, 2019, 12:50 (GMT)
Fix T63283: Second subdivision modifier does not ignore crease

This is something where there is no single correct behavior,
sometimes it's needed to ignore the crease to make mesh more
smooth. But sometimes crease is to be considered after first
subdivision surface: for example, when adding extra subdivisions
for render-time displacement.

Made it an option whether modifier needs to take crease into
account or not.

Existing files should be openable in the 2.7 compatible way,
to re-create an old behavior the options is to be manually
disabled in the modifier settings.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D4652
April 5, 2019, 12:40 (GMT)
GPU not able to allocate texture

In the case of the report a GL_PROXY_TEXTURE_2D_ARRAY of 2509x2509x1 failed to be allocated.
This is a work around as the GL_PROXY_TEXTURE_* is not reliable.

Reviewed By: brecht, fclem

Maniphest Tasks: T63223

Differential Revision: https://developer.blender.org/D4651
April 5, 2019, 12:22 (GMT)
Fix T62892 EEVEE HDRI lightning glitch

Clamp the texture at sampling time. This is not the best way to do it but
this is the fastest/simplest. The cost is rather negligeable.
April 5, 2019, 11:48 (GMT)
Interface: New region type 'Footer', used by text editor

* It can be hidden by dragging it up/down.
* It can be at the top or bottom, independent of the header.
* It uses the color theme from the header.
* It does not change its color, when the area becomes active.

Currently, it is used in the text editor to display the file path.

Differential Revision: https://developer.blender.org/D4601
April 5, 2019, 11:41 (GMT)
Cleanup: Replace deprecated finite with isfinite

Differential Revision: https://developer.blender.org/D4649
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021