Blender Git Commits

Blender Git "master" branch commits.

Page: 2263 / 5574

October 18, 2016, 15:51 (GMT)
[msvc] Minor cleanup in blenkernel.

this patch resolves the following warnings;

```
Warning C4028 formal parameter 1 different from declaration blenkernelinternocean.c 764
Warning C4098 'attach_stabilization_baseline_data': 'void' function returning a value blenkernelinterntracking_stabilize.c 139
Warning C4028 formal parameter 3 different from declaration blenkernelinterncachefile.c 148
Warning C4028 formal parameter 3 different from declaration blenkernelinternpaint.c 413
Warning C4028 formal parameter 1 different from declaration blenkernelinterneditderivedmesh.c 591
Warning C4028 formal parameter 3 different from declaration blenkernelinternlibrary_remap.c 709
Warning C4028 formal parameter 1 different from declaration blenkernelinternocean.c 754
Warning C4028 formal parameter 1 different from declaration blenkernelinternocean.c 758
Warning C4028 formal parameter 1 different from declaration blenkernelinternocean.c 759
Warning C4028 formal parameter 1 different from declaration blenkernelinternocean.c 763
Warning C4028 formal parameter 1 different from declaration blenkernelinternocean.c 764
Warning C4028 formal parameter 1 different from declaration blenkernelinternocean.c 765
Warning C4028 formal parameter 1 different from declaration blenkernelinternocean.c 769
Warning C4028 formal parameter 1 different from declaration blenkernelinternocean.c 770
Warning C4028 formal parameter 1 different from declaration blenkernelinternDerivedMesh.c 3458
```

It's mostly things where the signature in the .h and the actual implementation in the .c do not match. And a bunch functions who do not match the TaskRunFunction declaration cause they leave out the __restrict keyword.

Reviewers: brecht, juicyfruit, sergey

Reviewed By: sergey

Subscribers: Blendify

Differential Revision: https://developer.blender.org/D2268
October 18, 2016, 15:23 (GMT)
[windows] Create A Blender Desktop Shortcut in the msi installer , fixes T49522
October 18, 2016, 12:17 (GMT)
Fix: Append 'Object proxy' hack checking for local/linked usages before those flags were set!

Dummy mistake, to be backported to 2.78a.
October 18, 2016, 09:24 (GMT)
Clarified warning in EnumProperty

Blender doesn't necessarily crash when Python doesn't keep references to
the returned strings. As a result, someone that implements this incorrectly
could be lulled into a false sense of correctness by Blender not crashing.
Revision 70ff63e by Mike Erwin
October 18, 2016, 04:08 (GMT)
OpenGL: tweak image shaders & code that uses them

- rename image shaders to describe exactly what they do
- rename inputs to match other built-in shaders
- set & use active texture unit
- no need to enable/disable textures with GLSL
- pull vertex format setup out of loops
Revision 0c6939f by Mike Erwin
October 18, 2016, 03:48 (GMT)
minor cleanup & deprecation

Revision 8327795 by Mike Erwin
October 18, 2016, 03:28 (GMT)
OpenGL: draw image empties with new API

This extensive rewrite caches the image texture in VRAM. Can handle images up to OpenGL limits (8K or 16K).

Part of T49043 & T49450
October 17, 2016, 19:45 (GMT)
Fixup for doversion (rB8d573aa0 and rBa7e74791)
October 17, 2016, 19:24 (GMT)
Fix for gpu_shader_2D_texture_2D_frag.glsl

Report and patch by Willian Padovani Germano (ianwill)
Revision 4811b2d by Julian Eisel
October 17, 2016, 17:28 (GMT)
Proper fix for crash when joining areas that doesn't break manipulators

Turns out CTX_wm_region returns mostly NULL in wm_manipulatormaps_handled_modal_update. Now propertly unsetting area/region data of handlers when deleting area/region.
October 17, 2016, 13:00 (GMT)
Fix T49722: Appending Bug (Groups).

One day we'll have to reconsider why some many 'real' ID usages are not
refcounting... :(

To be backported to 2.78a.
October 17, 2016, 12:28 (GMT)
UV Editor: Add filter option to control what is visible when Draw Other Objects is enabled

Previously the editor will always try to only show UV faces with the same exact active
image or image texture, which is quite difficult to control on a production shaders, where
each material can have multiple objects assigned.

The idea of this commit is to bring option which allows to easily control what to display
when "Draw Other Objects" is enabled, so currently we can have old behavior ("Same Image")
or tell editor to show everything ("All"). In the future we can extend it with such filters
as "Same Material" and things like that.

Hopefully this will help @eyecandy's workflow of texturing.
October 17, 2016, 10:38 (GMT)
Fix T49738: Hair Add Brush doesn't work

the issue was caused by wrong default value for brush particle count
which was clamped on display from 0 to 1. This is technically a regression
but how to port this to 2.78a?
October 17, 2016, 10:28 (GMT)
Fix T49630: Cycles: Swapped shader and bake kernels

The problem here was, as the title says, that the two kernels were swapped.
Since shader evaluation is only used for building the samling map when World MIS is enabled, rendering without it would still work fine, although baking also was broken.
October 17, 2016, 09:51 (GMT)
Cycles: Improve OpenCL kernel compilation logging

The previous refactor changed the code to use a separate logging mechanism to support multithreaded compilation.
However, since that's not supported by any frameworks yes, it just resulted in bad logging behaviour.
So, this commit changes the logging to go diectly to stdout/stderr once again by default.
Revision e7fddc0 by Mike Erwin
October 17, 2016, 06:36 (GMT)
OpenGL: disable checks for NPOT texture support

Non-power-of-two textures are always allowed. Keeping the disabled checks in the code in case we support OpenGL ES in the future. Even then it should be a compile-time check, not at run-time.
Revision 42677fa by Mike Erwin
October 17, 2016, 03:50 (GMT)
Gawain: tweak tracking of unassigned attributes (no API change)

Hoping for a small performance win.
Revision ca369e6 by Mike Erwin
October 16, 2016, 22:49 (GMT)
OpenGL: draw object centers nicer

Shaders + new immediate mode = very nice dots.

Part of T49043
Revision 61ca73e by Mike Erwin
October 16, 2016, 22:43 (GMT)
OpenGL: new built-in shader for smooth round 3D points w/ outline

Revision 36d2365 by Mike Erwin
October 16, 2016, 21:48 (GMT)
OpenGL: new immUniformThemeColorShadeAlpha function

Plus some naming cleanup.

Supports T49043
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021