Blender Git Commits

Blender Git "master" branch commits.

Page: 3369 / 5574

December 12, 2012, 09:17 (GMT)
Fix #33486: cycles CPU image textures were offset wrong by half a pixel compared
to OpenGL/CUDA/OSL rendering.

December 12, 2012, 07:31 (GMT)
fix for EDBM_index_arrays_ensure not working as intended.
December 12, 2012, 07:20 (GMT)
add threshold for bmesh & openmp so its not used with low poly meshes, BM_OMP_LIMIT may need tweaking.
December 12, 2012, 06:57 (GMT)
add destructive argument to bmesh.update_edit_mesh()
December 12, 2012, 06:53 (GMT)
make EDBM_index_arrays's stay in memory, blender was allocating an array and filling it for verts/edges/faces on every redraw.

this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use.

in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.
December 12, 2012, 06:51 (GMT)
Fix #33485: cycles OSL now autodetects the presence of emission and transparent
closures to enable multiple importance sampling and transparent shadows.
December 12, 2012, 05:27 (GMT)
use htype flags as arguments to EDBM_index_arrays_init(), no functional changes.
December 12, 2012, 05:04 (GMT)
use openmp to thread some common bmesh operations
- BM_mesh_elem_toolflags_ensure / bmo_flag_layer_alloc / bmo_flag_layer_free / bmo_flag_layer_clear
- BM_mesh_select_flush
- EDBM_index_arrays_init

notes:
- mostly use openmp `sections` to split operations on vert/edge/face since this is a fairly minor change.
- split tool flag pool in 3, this means we can allocate exact sizes needed and iterate on them in threads without alloc'ing.
December 12, 2012, 04:41 (GMT)
assert in debug builds if MEM_ alloc's are called in openmp threads.
note: the caller can do locking to prevent errors - but this isn't being done in blender yet, so this prevents accidental allocs in openmp for now.
December 12, 2012, 02:48 (GMT)
replace BLI_array_declare with BLI_array_staticdeclare() and BLI_array_alloca() for smaller arrays.
December 11, 2012, 23:05 (GMT)
Further fix for svn:executable.
December 11, 2012, 23:01 (GMT)
Fix for svn:executable.
Reported by Bastien Montagne, thanks!
December 11, 2012, 22:00 (GMT)
A big cleaning patch by Bastien Montagne (thanks a lot!)

* Split and moved Cycles�?? render layers panels into the render_layer
context as well (would be nice to hide this context when not needed,
e.g. with the BGE, but this is not so easy to do nicely...).

* Fixed some inconsistencies with trunk (probably due to svn merge
glitches) using r52858 as reference. Also recovered the missing
release/bin/blender-softwaregl file.

* A bunch of style code fixes in Blender's own code (not Freestyle
itself yet): line lengths, spaces around operators, block formatting,
headers, etc. In rna_linestyle.c, color_blend_items was replaced by
ramp_blend_items (exported from rna_material.c).
December 11, 2012, 20:39 (GMT)
Fix for cloth/smoke: Collision and flow objects always had to be on the same layer.

Reported and patch by MiikaH
December 11, 2012, 19:45 (GMT)
Install dependencies used to always mark schro as used for suse.
Now it should respect all features option.

Also removed some duplicated entries.
December 11, 2012, 16:06 (GMT)
OSL Shader Files:
* Simplify default color values, where each component was the same.
* Initialize closures as Null Closure, rather than assigning an existing closure, gets overwritten anyways.
December 11, 2012, 15:56 (GMT)
change to r52888, since we dont always want ED_view3d_offset_distance() to give a corrected value, instead pass a fallback so callers don't allow zero by accident.
December 11, 2012, 15:29 (GMT)
fix for building with msvc
December 11, 2012, 15:14 (GMT)
image stamp data's strings could be short enough not to fit the entire ID name length.
December 11, 2012, 15:10 (GMT)
replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() which uses stack memory always and doesn't need to be freed explicitly.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021