Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4557 / 8462

January 6, 2016, 19:20 (GMT)
Fix (unreported) crash when rendering hairs from edit mode (own regression in recent particle edit fix).

*sigh* hope we fix some day that recursion issue that makes it such a PITA to generate DM of other targets from DM stack...
January 6, 2016, 18:48 (GMT)
'users of ID' py API.

This mainly adds bpy.data.user_map() method, which goes over the whole Main database
to build a mapping (dict) {ID: {users_of_that_ID}}.

Very handy to check and debug ID usages, but could also be really valuable for py addons
creating temporary scenes, or some exporters, etc.

Note: current code in master's libquery misses some IDs (and reports some it should not,
like nodetrees), this is fixed in id-remap but still needs serious review before going to master.
This basically means that current bpy.data.user_map() **will not** report a complete and exhaustive
state of dependencies between IDs. Should work OK in most cases though.

Original work/idea comes from id-remap branch, was heavily reworked by @campbellbarton
and myself for master.

Reviewers: campbellbarton, sergey

Differential Revision: https://developer.blender.org/D1678
January 6, 2016, 18:39 (GMT)
Move pyrna_set_to_enum_bitmap to bpy_rna.c
January 6, 2016, 18:33 (GMT)
Fix docstring and broken logic (inversion between key and value filtering).
January 6, 2016, 18:32 (GMT)
Link to valid set values
January 6, 2016, 18:25 (GMT)
Merge branch 'master' into tmp-id-users
January 6, 2016, 18:09 (GMT)
Cycles: Fix possible buffer overflow in OIIO cache error message
January 6, 2016, 18:09 (GMT)
Correction to last commit and add docstring
January 6, 2016, 18:06 (GMT)
Fix T47120: CPU OSL Cycles crashes blender in latest GIT

The issue was caused by leaking error messages caused by
getting OIIO texture handle for built-in images.
January 6, 2016, 17:58 (GMT)
Add key and value type filters

allows for eg:

bpy.data.user_map(key_types={'MESH'}, value_types={'OBJECT', 'MATERIAL'})

Without this, return values could get very large.
January 6, 2016, 17:27 (GMT)
set shards to passive if shard weight (average vertex weight) is > 0.0f instead of 0.5f, this allows to keep shards passive in case they dont get enough weightpaint (in case they are inside, and interpolation of weights is not enough)
January 6, 2016, 17:01 (GMT)
de-duplicate some checks
January 6, 2016, 17:01 (GMT)
Correct docstring.
January 6, 2016, 16:49 (GMT)
Edits to the docstring
January 6, 2016, 16:41 (GMT)
Add error-checking on PySequence_Fast result.
January 6, 2016, 16:37 (GMT)
Rename 'iter' since this is no longer an iterator
January 6, 2016, 16:20 (GMT)
Fix leak when wrong args passed
January 6, 2016, 16:16 (GMT)
Minor edits, comments, cleanup & style
January 6, 2016, 15:25 (GMT)
Cycles: Log whch optimizations are used for CPU kernels

Not fully thread-safe, but is rather harmless. Just some messages
might be logged several times.
January 6, 2016, 15:16 (GMT)
Merge branch 'master' into tmp-id-users
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021