Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2526 / 5574

August 20, 2015, 09:13 (GMT)
Use BVH-overlap for mesh self-intersection display

Add BKE_bmbvh_overlap, remove BKE_bmbvh_find_face_segment
August 20, 2015, 08:15 (GMT)
Hopefully fix mingw building after filebrowser rewrite.

The mystery here is, how MSVC could not break on such error? :(
August 20, 2015, 07:52 (GMT)
BVH-overlap: add callback to BLI_bvhtree_overlap

The callback checks if 2 nodes intersect (not just their AABB).

Advantages:
- theres no need to allocate overlaps which are later ignored.
- expensive intersection tests will run multi-threaded.

Currently only used for Python API.
August 20, 2015, 07:35 (GMT)
Fix T45514 crash entering texpaint mode.

In the file of the report, stencil and clone indices
have fallen out of synch with the uv/mtexpoly layers.

Looks like the file has a long history, coming from 2.49
even. Unfortunately reporter cannot recall exact steps
to reproduce, so "fix" is to patch mesh.validate to
fix those indices.
August 20, 2015, 06:31 (GMT)
BVH-overlap: use stack for overlap data array

This is known to be <32, so no need to malloc every item.
August 20, 2015, 05:09 (GMT)
Avoid redundant normal calculation in heat-weight
August 20, 2015, 03:25 (GMT)
Cleanup: de-duplicate ray-cast initialization
August 20, 2015, 02:50 (GMT)
Cleanup: comment out isect_ray_tri_threshold_v3

Also define epsilon var for ray-cast functions.
August 20, 2015, 02:22 (GMT)
Transform: Use BVH for volume-snap (optimization)

Was performing ray-tri intersection checks on all faces.

Note, this isn't using isect_ray_tri_threshold_v3
which was used to prevent ray-casts slipping through between faces.

Instead we'll move to using watertight intersections by default.
August 20, 2015, 01:03 (GMT)
Cleanup: remove unused BVH_ONQUAD flag
August 19, 2015, 23:20 (GMT)
Fix drawing subsurf & auto-smooth

Error caused by recent MFace removal from subsurf.
August 19, 2015, 23:20 (GMT)
Cleanup: unused vars
August 19, 2015, 22:51 (GMT)
Cleanup: whitespace
August 19, 2015, 22:51 (GMT)
FileBrowser: Fix some minor issue with fileentries creation.

An entry could already exist in misc cache, when creating it for block cache, leading to double-creation.
Issue was not that serious (no memleak or so), but nasty still. Thanks to Severin for notifying the assert.
August 19, 2015, 21:54 (GMT)
Fix 32bit builds... :/
August 19, 2015, 20:41 (GMT)
Final 'FileBrowser First Stage' merge.

It basically rewrites most of filelist.c, with some more limited changes in other areas of filebrowser.

From user perspective, it:
* Removes some info in 'long' drawing mode (owner, permissions) - OS-specific data that do not really matter in Blender!
* Makes short/long display 'fixed' size (among four choices, like thumbnails mode).
* Allows to list several layers of dirtree at once, in a flat way (inside .blend files and/or real directories).
* Consequently, adds datablocks types filtering.
* Uses way less RAM when listing big directories, especially in thumbnail mode (we are talking of several hundred of MiB spared).
* Generates thumbnails way faster.

From code perspective, it:
* Is ready for asset engine needs (on data structure level in filebrowser's listing).
* Simplifies and makes 'generic' file listing much lighter.
* Separates file listing in three different aspects:
** 'generic' filelisting (in BLI), which becomes a shallow wrapper around stat struct.
** 'filebrowser drawing' filelisting, which only contains current visible subset of the whole list (sliding window), with extra drawing data (strings for size, date/time, preview, etc.).
** 'asset-ready' filelisting, which is used for operations common to 'basic' filehandling and future asset-related one.
* Uses uuid's to handle file selection/state in the browser, instead of using flags in filelisting items.
* Uses much lighter BLI_task handling for previews, instead of heavy 'job' system (using the new 'notifier' timer to handle UI refresh, in similar way to jobs).
* Moves .blend datablocks preview handling to IMB_thumbnail (necessary to avoid storing all datablock previews at once, and gives better consistency and performances too).

Revision: https://developer.blender.org/D1316

Thanks to Campbell & Sergey for the reviews. :)
Revision 5c65957 by Julian Eisel
August 19, 2015, 18:53 (GMT)
Fix T45847: Pie looses focus when mouse cursor passes through a pie button
August 19, 2015, 09:01 (GMT)
More BLT/Windows fixes... :/
August 19, 2015, 08:10 (GMT)
Hopefully fix broken windows after recent i18n split.

We need to include BLI_utildefines.h when using __func__...
August 19, 2015, 07:26 (GMT)
Fix for accessing looptri's from subsurf

Use poly count since tessfaces may be zero
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021