Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4540 / 8462

January 19, 2016, 15:41 (GMT)
Cleanup: Simplify depsgraph API by using the same depsnode type for each ID.

This means the user might use an invalid component key for generating dependencies,
but the only consequence is that no relation is created.
January 19, 2016, 14:54 (GMT)
Sequencer: Implement Tone Map strip modifier

Behaves same exact way as compositor node, but could be applied
in the sequencer and used as a grading tool.

Requested by the Nieve project artists.
January 19, 2016, 12:24 (GMT)
Fix T47203: Render Crash due to missing zbuf_float handling in IMB scaling.
January 19, 2016, 09:56 (GMT)
Fix T47201: Cycles+OSL keeps image files open until Blender exits

Now image will be opened for while render session is active, this is
needed to keep image cache working correctly. But stopping render
should now release all files descriptors.
January 19, 2016, 09:44 (GMT)
GTests: were using C++11 feature
January 19, 2016, 09:06 (GMT)
Libmv: Solve some strict warnings in tests
January 19, 2016, 08:55 (GMT)
GTests: split array_utils tests
January 19, 2016, 01:37 (GMT)
CMake: check for LLVM static library by default

Even when static option isn't enabled, use the static library path if the dynamic library isn't found.
January 18, 2016, 22:14 (GMT)
Weight Paint: Add lock-aware normalize

D1713 from @angavrilov (with own edits)

The way current weight paint code works is that instead of making normalization lock aware, a separate `enforce_locks` function is called to do a different kind of normalization, hoping that by the time real normalize is called, there is nothing for it to do. The problem is that:

- That different normalization is based on adding the same amount to all unlocked groups, whereas true normalize uses multiplication to preserve ratio between them. The multiplicative approach should match the way weights operate better.
- If `enforce_locks` fails to achieve perfect normalization, true normalize will change locked groups.

Try to fix this by replacing `enforce_locks` with true lock-aware normalization support.

Supporting locked groups in normalize means that freezing the active group can make full normalization impossible if too much weight was added or removed, so it may be necessary to do two normalize passes. This is similar to how enforce_locks operates.

Also, now there is no need to go through the multi-paint branch just because of the locks. In the actual multi-paint case, the same normalize code can be used via a temporary flag array that represents the union of selected and locked groups.

User-visible effect should be:

- Auto-Normalize doesn't change behavior vertex to vertex depending on whether it has any locked groups.
- It never changes locked groups; if you lock some groups and start painting with seriously non-normalized weights, it's assumed you intended that.
- It never adds vertices to new groups, since the computer can't do that intelligently anyway - it was especially broken in case of mirroring.
- It always acts to preserve the ratio between groups it changes, instead of (sometimes, see point 1) adding or subtracting the same amount.
January 18, 2016, 21:23 (GMT)
GTests: array_utils
January 18, 2016, 21:23 (GMT)
BLI_array_utils: add binary and/or functions
Revision f0f398c by Clément Fukhaut (pbr-viewport)
January 18, 2016, 21:18 (GMT)
Fix sun intensity and fix a bug for some graphics cards.
January 18, 2016, 20:59 (GMT)
implemented some special constraint breaking method further (plastic constraint breaking), for external fracturing mode
January 18, 2016, 20:51 (GMT)
Ignore const qualifier when comparing types
January 18, 2016, 18:55 (GMT)
exposed per-constraint breaking angle and distance to python (for external mode only, for now)
January 18, 2016, 17:54 (GMT)
Cleanup: style
January 18, 2016, 17:10 (GMT)
added del guards and removed noise grids (were not used anyway)
January 18, 2016, 17:03 (GMT)
fixed constraint restore with external fracture mode (using participants instead of jumping around in list, which messes up the iteration loop)
January 18, 2016, 12:22 (GMT)
PSculpt: Hacky first attempt at "superbrush" mode for Adjust

Instead of inverting the brush behaviour, holding shift for the Adjust brush
will instead activate grab, making it easier to switch between these without
having to go via the buttons.

Verdict:
This only works partially. It still doesn't feel right - especially with the
Sintel rig, as the arm FK rotations feel like they go in the wrong directions.
January 18, 2016, 12:05 (GMT)
Two-level use-count system for bvm pointer variables.

The rationale for this change is that copying variables on the bvm stack
will become necessary for compound variables (structs). In order to
efficiently keep pointers on the stack without making deep copies every
time such a variable is copied, the pointer must be a kind of shared_ptr
concept. In addition to this the stack variable itself must also be counted,
so that we have a way of detecting when it "goes out of scope", i.e. all
nodes using it have finished.

The node_counted_ptr is not a full C++ shared_ptr, because the user counting
is handled explicitly by the compiled bvm instructions. Using a std::shared_ptr
would be difficult due to the mixed levels of evaluation (compile-time constants,
storing shared_ptr on the opaque stack), and because of difficult interfacing
with C code (returning persistent plain pointers).
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021