Blender Git Loki

Kaikki Blender Git kommitit.

Page: 3594 / 8462

November 23, 2017, 21:43 (GMT)
Minor cleanup for own recent commits.
November 23, 2017, 21:37 (GMT)
Add grid option to grease pencil paper

Default values added too.
November 23, 2017, 21:18 (GMT)
Merge branch 'blender2.8' into id_override_static
November 23, 2017, 20:36 (GMT)
Merge branch 'master' into blender2.8
November 23, 2017, 20:29 (GMT)
Extend the fur generate modifier to also create guide curves.
November 23, 2017, 20:21 (GMT)
Getting rid of OMP: first usage of new parallel BMesh items iteration instead.

`BM_mesh_normals_update` was converted from OMP to new parallel iterator code,
basic test with heavily subdivided cube (24.5k faces) gives:
- old OMP code: average 10ms per run.
- new BLI_task code: average 6ms per run.

So new code seems to be easily 40% quicker, in addition to getting rid of OMP. ;)

Reviewers: sergey, campbellbarton

Differential Revision: https://developer.blender.org/D2930
November 23, 2017, 20:19 (GMT)
BMesh: add limited support for parallelization over some basic iterators.

This merely uses new memloop/task looper over vertex/edge/face mempools.

Quite obviously, only BM_VERTS/EDGES/FACES_OF_MESH iterators are
supported.
November 23, 2017, 20:17 (GMT)
atomic_ops: add `atomic_cas_float` helper.
November 23, 2017, 20:14 (GMT)
Add a new parallel looper for MemPool items to BLI_task.

It merely uses the new thread-safe iterators system of mempool, quite
straight forward.

Note that to avoid possible confusion with two void pointers as
parameters of the callback, a dummy opaque struct pointer is used
instead for the second parameter (pointer generated by iteration over
mempool), callback functions must explicitely convert it to expected
real type.

Also added a basic gtest for this new feature.
November 23, 2017, 20:12 (GMT)
Add ability to use more than one mempool iterator simultaneously.

This will allow threaded tasks to 'consume' all mempool items in
parallel tasks, each one working on a whole chunk at once (to reduce
concurrency managing overhead).
November 23, 2017, 19:50 (GMT)
Get rid of left over from redo panel in clip editor
November 23, 2017, 19:43 (GMT)
Merge branch 'master' into experimental-build
November 23, 2017, 19:34 (GMT)
Merge branch 'master' into blender2.8
November 23, 2017, 19:25 (GMT)
atomic_ops: Copy/adapt static assert macro from BLI_utildefines, and use it.

Checking for type sizes is much nicer with a static assert!
November 23, 2017, 19:25 (GMT)
Add non-gcc variant of static assert macro.

Adapted from http://www.pixelbeat.org/programming/gcc/static_assert.html.

Note that this macro just discards error message, so error when building
is much less nice than with gcc's _Static_assert... But error log will
point to right place in code, so should still be OK.
November 23, 2017, 19:17 (GMT)
Fix T53145: bevel tool fails when used a second time.

Pixel size was not initial early enough. For first time this was not a problem
because the bevel amount starts at 0 then, and after the mouse moves the pixel
size is initialized. For the second time the bevel amount starts at a non-zero
value, and it failed then.
November 23, 2017, 18:54 (GMT)
WIP: New paper function

This function allows to cover full viewport with a predefined color. This allows to hide the geometry in complex scenes and make the drawing area cleaner.

This function was requested by artist after working in Hero open movie using complex scenes with a lot of geometry "behind" of the grease pencil drawings.
November 23, 2017, 18:53 (GMT)
Fix context issues when using operator repeat from top-bar

Use same fix for it as rB815eebbe17ab632.
November 23, 2017, 18:16 (GMT)
Merge branch 'master' into blender2.8
Revision debd9f6 by Brecht Van Lommel (master)
November 23, 2017, 18:13 (GMT)
Fix T53171: lamp specials strength tweak fails with renamed emission nodes.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021