Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4712 / 8462

August 27, 2015, 08:36 (GMT)
Make .blend file thumbnail reading simpler and more coherent, read/store them when reading in background mode, and allow user to define custom thumbnails.

Primary goal of this commit is to fix an annoying issue - when processing and saving .blend
files in background mode you lose their thumbnails, since it can only be generated with
an OpenGL context.

Solution to that is to read .blend thumbnail while reading .blend file (only done in background
mode currently), and store it in Main struct.

Also, this lead to removing .blend file reading code from thumb_blend (no need to have doublons,
and always hated that piece of unreadable geeky code there anyway). We now have a small
interface in regular reading code area, which keeps it reasonbaly light by only reading/parsing
header info, and first few BHead blocks.

This makes code reading .blend thumbnail about 3 to 4 times slower than previous highly specialized
one in blend_thumb.c, but overall thumbnail generation of a big .blend files folder only grows
of about 1%, think we can bare with it.

Finally, since thumbnail is now optionally stored in Main struct, it makes it easy to allow user
to define their own custom one (instead of auto-generated one), either by generating it from a
specific scene, or giving it a raw array of pixels.

Reviewers: sergey, campbellbarton

Subscribers: Severin, psy-fi

Differential Revision: https://developer.blender.org/D1469
August 27, 2015, 07:45 (GMT)
Fix T45920: Loopcut w/ shrinkwrap crash
August 27, 2015, 07:45 (GMT)
Use correct size for BVH insertion
August 27, 2015, 07:05 (GMT)
OpenSubdiv: Fix error found by PerfectionCat,

Use glew, not gl constants to detect presence of extensions.
glProgramParameterEXTi is part of GLEW_EXT_geometry_shader4
August 27, 2015, 05:22 (GMT)
Fix T43826: Sculpt grab anchored fails

Regression caused by GSOC2013 merge f745564
August 27, 2015, 03:29 (GMT)
DNA/IO: struct ghash lookup didn't set 'lastfind'

Internal inconsistency: lastfind was being checked
on every DNA_struct_find_nr call, but never set.

Gives minor speedup reading files.
August 27, 2015, 01:11 (GMT)
Fix crash switching to rotate from edge-slide

Caused by own fix for T45458
August 26, 2015, 23:36 (GMT)
Tweaks to arrow line drawing

* Rotate arrow heads based on line vecs
* Fix lines drawing into geometry
* Cleanup
August 26, 2015, 16:14 (GMT)
Merge branch 'wiggly-widgets' into UI-experiments
August 26, 2015, 16:14 (GMT)
Merge branch 'master' into UI-experiments
August 26, 2015, 16:03 (GMT)
Remove redundant fix (view matrix update)
August 26, 2015, 15:59 (GMT)
Cleanup for previous commit
August 26, 2015, 15:51 (GMT)
Fix T45232: Cycles bake artifacts with transparent textures

The issue was caused by uninitialized ray used for composite and AO evaluation.

Can;t really think of "proper" ray configuration here, it's all a bit arbitrary
but think initializing the ray in a way so we look at the surface in a negative
normal direction is much better alternative to uninitialized ray.

Open for alternative suggestions tho.
August 26, 2015, 15:45 (GMT)
Merge branch 'master' into wiggly-widgets
August 26, 2015, 15:41 (GMT)
Fix 2-axes constrained widgets not rotating with manipulator correctly

Bah, that one was a hard nut...
August 26, 2015, 15:12 (GMT)
Fix T45912: Opensubdiv meshes don't properly center when using <numpad .>
August 26, 2015, 13:27 (GMT)
Fix T44945: Blender crashes when using multiple domains and multiple flow objects with subframes

This is more like a workaround to prevent obvious cases fail, but in theory
if some other area will start updating object for subframes blender will
crash again.

Perhaps proper way to solve this will be to copy objects for subframe updates.
August 26, 2015, 13:06 (GMT)
Fix T45275: F-Curve normalization might corrupt animation
August 26, 2015, 12:52 (GMT)
Fix T45631: Ambient update rendered bug

The issue was in fact caused by both preview and viewport renderers affecting
on the default material, conflicting with each other.

Preview render doesn't really need default material, so we can safely skip it's
initialization in the render pipeline for preview rendering.
August 26, 2015, 12:28 (GMT)
Fix T45709: Cached Hair system is not seen in 2.75

Don't force re-distribution of cached particle systems, this doesn't
cause actual evaluation of particles and there was a reason why particles
are baked actually..
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021