Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4369 / 8462

June 8, 2016, 09:21 (GMT)
3D Text: Store separate arrays for undo data

Don't store maximum length of text per undo step,
or attempt to pack all data in a single array.

Was storing 32766 characters per undo step, irrespective of actual text length.
June 8, 2016, 09:12 (GMT)
3D Text: move undo into its own file
June 8, 2016, 09:12 (GMT)
BLI_array_store: move helper functions into their own API
June 8, 2016, 08:32 (GMT)
Fix cloth stability when in perfect rest shape.

The way cloth is coded, structural springs are only effective when stretched, while bending springs act only when shrunk. However, when cloth is exactly in its rest shape, neither have any effect, and effectively don't exist for the implicit solver.

This creates a stability problem in the initial frames of the simulation, especially considering that gravity seems to act so precisely that it doesn't disturb the strict equality of lengths, so in parts of the cloth this springless state can continue for quite a while.

Here is an example of things going haywire because of this and some suspicious logic in collision code acting together: {F314558}

Changing the condition so that structural springs are active even at exactly rest length fixes this test case. The use of >= is also supported by the original paper that the cloth implementation in blender is based on.

Reviewers: lukastoenne

Reviewed By: lukastoenne

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D2028
June 8, 2016, 08:31 (GMT)
Buildbot: Trickery for MSVC2015 and NVCC
June 8, 2016, 08:02 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
June 8, 2016, 07:41 (GMT)
Merge branch 'master' into object_nodes
June 8, 2016, 07:27 (GMT)
Revert geometry cache

Reverting the geometry cache for now, there's still a lot of work to be done on
the other parts of the subdivision code and the added complexity of the cache
is slowing down development. Will add it back later after things are more
functional. For now this means scenes will potentially use much more memory, so
care should be taken when using the feature.
June 8, 2016, 07:24 (GMT)
Merge branch 'master' into soc-2016-multiview
June 8, 2016, 07:14 (GMT)
Basic Gabor noise implementation for BLI_noise and blenvm.

This is just the very basic version of the sparse convolution noise
with a Gabor kernel. It does not yet have derivatives or anisotropic
filtering. The only frequency spectrum implemented atm is isotropic
band-limited noise.
June 8, 2016, 06:31 (GMT)
Correct assert
June 8, 2016, 06:14 (GMT)
complete new and free multiview reconstruction context, so far so good
June 8, 2016, 05:20 (GMT)
GPU: fix/workaround basic shader font-color

All text was displaying black.

BLF uses alpha-only textures which aren't supported by the basic-shader,
Workaround this by using texture swizzle so the RGB components of the texture are set to 1.
June 8, 2016, 01:17 (GMT)
Cycles: Fix two numerical issues in the volume code

This hopefully fixes T48383 by avoiding two numerical problems that I found in the volume code.

Reviewers: sergey, dingto, brecht

Reviewed By: sergey, dingto, brecht

Maniphest Tasks: T48383

Differential Revision: https://developer.blender.org/D2051
June 8, 2016, 00:39 (GMT)
Store array of all layer items in the layer tree

Coexists with LayerTree.items and LayerTreeItem.childs listbases which were used for recursive iterations over the layer tree (using BKE_layertree_iterate or BKE_layeritem_iterate_childs). However, it was a bit annoying having to use this everywhere, especially if many args had to be passed as void *. Also, iterative methods with arrays instead of listbases should give us a bit of speedup.
It's possible LayerTree.items will not be needed anymore, but will leave in for now.

Array is only used on BKE level so far.
June 7, 2016, 22:08 (GMT)
Turn on Decklink by default
June 7, 2016, 21:30 (GMT)
Merge remote-tracking branch 'origin/master' into decklink
June 7, 2016, 21:13 (GMT)
Cleanup: Add comment on behavior of tweak events

It's not obvious that they use the mouse coordinate of the initial key-press event (behavior since rBf1f33ba7be2d), so added comment.

Also corrected other comments.
June 7, 2016, 20:37 (GMT)
Fix T48600: VSE strip 'side selection' fails in 'Both' case.

Looks like a line was forgotten in the 'BOTH' case in code...
June 7, 2016, 19:55 (GMT)
Initial work to allow custom normals setting in BMesh, with quick bmesh py API call too.

Seems to be working OK from quick tests...

Some notes:
- This is mimicking BKE_mesh_evaluate code. While this is OK for some cases,
we'll likely want some more integrated and fine-grained ways to set/edit those
normals in Edit mode once we create real editing tools for those (most likely based
on some BMesh operators).
This implies some kind of dynamic caching/update of clnors spaces though, which
is not trivial. So kept for later, for now you have to set all custom normals at once.
- Not sure where/how to expose this in py API, for now just added a func in bmesh.utils.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021