Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5841 / 8462

August 12, 2013, 14:37 (GMT)
Use atomic operations instead of spin lock for threaded update

This replaces code (pseudo-code):

spin_lock();
update_child_dag_nodes();
schedule_new_nodes();
spin_unlock();

with:

update_child_dag_nodes_with_atomic_ops();
schedule_new_nodes();

The reason for this is that scheduling new nodes implies
mutex lock, and having spin around it is a bad idea.

Alternatives could have been to use spinlock around
child nodes update only, but that would either imply having
either per-node spin-lock or using array to put nodes
ready for update to an array.

Didn't like an alternatives, using atomic operations makes
code much easier to follow, keeps data-flow on cpu nice.

Same atomic ops might be used in other performance-critical
areas later.

Using atomic ops implementation from jemalloc project.
August 12, 2013, 13:52 (GMT)
Followup for r58992, fixing user decrement error

Some places like proxy rebuild didn't increent
custom shape user counter which lead to user
decrement errors later when freeing pose channels.

Try to keep custom object counter relevent, but
some corner cases might still be missing.
August 12, 2013, 12:31 (GMT)
GPL V3 license, which will be valid for the binary releases.
(Because Blender links with the Apache2 license).

Cleanup of this directory will happen before official release.

August 12, 2013, 12:19 (GMT)
Merging r59081 through r59082 from trunk into soc-2013-depsgraph_mt

August 12, 2013, 12:17 (GMT)
Add jemalloc license to release/text

Official linux builds are linking against jemalloc,
and in the own branch i'm using some of it's code.

License files location could be changed a bit later
(i.e. make it so all the license files are in the
single folder, not in the root of the blender distro).
August 12, 2013, 09:35 (GMT)
Merging r58778 through r59080 from trunk into soc-2013-depsgraph_mt

August 12, 2013, 09:00 (GMT)
Fix #36420: ends of curves - caps & twist not good

Forgot to calculate directions of first/last points
for NURBS and POLY splines.
August 12, 2013, 07:48 (GMT)
image_load() utility function's 'recursive' option wasn't functional since 2.4x
August 12, 2013, 07:47 (GMT)
Fix #36408: Setting `image.colorspace_settings.name` changes saved alpha

Issue was caused by reload caused by input colorspace change.

For generated images generated alpha flags weren't saved to
DNA, which lead to fallback from 32 bit depth to 24 when
doing any kind reload of generated image.

The same alpha loss happens when you save .blend file with
generated images.

Now added generated depth to DNA, so reload image and .blend
file wouldn't loss alpha.
August 12, 2013, 07:44 (GMT)
bpy.path.reduce_dirs() - new utility function to de-duplicate and remove nested paths before doing a recursive search.
August 12, 2013, 06:53 (GMT)
Fix #36437 Cycles no longer rendering Emitter object (Particle Systems). The change r58999 was ignoring the "show_emitter" setting by particles (the result would be the same as long as hair was not
used). If particle emitters are forced to show all other of the usual duplicator hiding should be disabled.
August 12, 2013, 06:10 (GMT)
change to object-smooth poll function, no need to check for active object, just check we're not in editmode.
August 11, 2013, 16:55 (GMT)
Code cleanup / Cycles:
* Remove unused "PathThroughput" variable.
* Don't compile unused voronoi code, we only use Distance Squared atm.
* Various typo and comment fixes.
August 11, 2013, 15:49 (GMT)
Fix RNA parameter passing issue with dynamic arrays, was computing the wrong
size in some cases.
August 11, 2013, 15:27 (GMT)
Code cleanup / Cycles:
* Rename "curve_kernel_data" to just "curve", to avoid redundant naming.
August 11, 2013, 12:59 (GMT)
The VIEW3D editor gets an extra, extensive toolbar. The idea is that this frees up space from the left sidebar for tool options and custom panels.

The extra menubar is meant to provide a place for many non-modal operators in a flatter hierarchy than the current header menu (less clicks, better visibility). The left sidebar is then meant to house custom panels and more activity based panels.

* fixed a bug in the undo/operator stack integration code whereby operators were freed in certain cases
* removed Select and Special menus from the header, and placed the underlying menus in the extra toolbar
* removed some of the sidebar panels, will work on replacing these with more activity based panels
* moved all grease pencil buttons and options into a single panel for the toolbar
August 11, 2013, 10:35 (GMT)
Polyline strokes could have dabs not belonging to the lines due to the
way dab interpolation for space strokes worked. This commit includes an
simpler implementation based on the initial space stroke code that
corrects this issue.
August 11, 2013, 10:35 (GMT)
Allow gradient fill color mixing with the background, now it does a
regular over operation based on gradient alpha. Still no alpha influence
for gradient strokes.
August 11, 2013, 10:35 (GMT)
Spacing gradient strokes. The gradient circles after a certain gradient
spacing which is set in the gradient properties.
August 11, 2013, 10:35 (GMT)
Fix gradient fill not working with spaced strokes released close to the
start of the stroke
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021