Blender Git Commits

Blender Git commits from all branches.

Page: 2022 / 2888

June 8, 2016, 19:45 (GMT)
Cleanup: simplify checks calculating tangents
June 8, 2016, 19:45 (GMT)
BLI_task: Add new 'BLI_task_parallel_range_finalize()'.

Together with the extended loop callback and userdata_chunk, this allows to perform
cumulative tasks (like aggregation) in a lockfree way using local userdata_chunk to store temp data,
and once all workers have finished, to merge those userdata_chunks in the finalize callback
(from calling thread, so no need to lock here either).

Note that this changes how userdata_chunk is handled (now fully from 'main' thread,
which means a given worker thread will always get the same userdata_chunk, without
being re-initialized anymore to init value at start of each iter chunk).
June 8, 2016, 19:45 (GMT)
BLI_task: Add back lost 'push_from_thread' change to BLI_task_parallel_range() & co.
June 8, 2016, 19:45 (GMT)
Fix T48447: Inactive menu items don't grey-out icons
June 8, 2016, 19:45 (GMT)
BLI_task: make foreach loop index hleper lockfree, take II.

New code is actually much, much better than first version, using 'fetch_and_add' atomic op
here allows us to get rid of the loop etc.

The broken CAS issue remains on windows, to be investigated...
June 8, 2016, 19:45 (GMT)
Atomic ops: add 'fetch_and_add_uint32' op.

Needed for next commit.
June 8, 2016, 19:45 (GMT)
Cleanup rna_Brush_direction_itemf()

Some variants of gcc compilation were reporting 'control reaching end of non-void function' error
in this switch/case maze. Either use break everywhere or not at all (which is simpler, since we
only always return anyway...).
June 8, 2016, 19:45 (GMT)
Cycles: Cleanup after recent refactor

Wrong indentation, wrong spacing.
June 8, 2016, 19:45 (GMT)
Revert "Docs: smoke typo corrections"

This reverts commit b13bc48932761dd813597507b1a1dc86d951ebff.

Wasn't only typo fixes, broke compiling
June 8, 2016, 19:45 (GMT)
Docs: smoke typo corrections

patch by @Blendify
June 8, 2016, 19:45 (GMT)
Curve Fitting: correct circular tangent length calculation

Method for scaling is still not perfect but quite close.
June 8, 2016, 19:45 (GMT)
Fix T48422: Revert "BLI_task: nano-optimizations to BLI_task_parallel_range feature."

There are some serious issues under windows, causing deadlocks somehow (not reproducible under linux so far).

Until further investigation over why this happens, better to revert to previous
spin-locked behavior.

This reverts commits a83bc4f59707ab and 98123ae9168.
June 8, 2016, 19:45 (GMT)
BGE: Fix KX_LightObject python API documentation.

Replace "..attribute::" by ".. attribute::".
June 8, 2016, 19:45 (GMT)
Fix T48425: Armature Symmetrize is flipping Custom Shape parameter.

In case not all bones are selected, not all possible mirrors are set in editbone->temp.ebone,
so we need to search them...
June 8, 2016, 19:45 (GMT)
Fix an error in new lockfree parallel_range_next_iter_get() helper.

Reading the shared state->iter value after storing it in the 'reference' var could in theory
lead to a race condition setting state->iter value above state->stop, which would be 'deadly'.

This **may** be the cause of T48422, though I was not able to reproduce that issue so far.
June 8, 2016, 19:45 (GMT)
Fix Cube generated UV's rotated incorrectly
June 8, 2016, 19:45 (GMT)
Fix T48426: Use same length for all header message strings.

Some languages like Chinese or Japanese take three or four bytes per char...

Also fixed some missing translation markers for UI header messages.
June 8, 2016, 19:45 (GMT)
Correct BM_iter_mesh_bitmap_from_filter return
June 8, 2016, 19:45 (GMT)
Correct asserts
June 8, 2016, 19:45 (GMT)
Fix script_paths(check_all=True) missing script paths

BLENDER_SYSTEM_SCRIPTS wasn't included in bpy.utils.script_paths()
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021