Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Collapse)Author
2015-08-21BVH-raycast: Use watertight intersectionsCampbell Barton
By default watertight intersections are used, For callbacks where its not needed, BLI_bvhtree_ray_cast_ex can be called without the BVH_RAYCAST_WATERTIGHT flag. Fixes T45286
2015-08-21Math Lib: watertight intersection functionCampbell Barton
From Cycles with some very minor differences.
2015-08-21Math Lib: Add float/int conversion functionsCampbell Barton
2015-08-21BVH-raycast: ensure input direction is unit-lengthCampbell Barton
This was already the case for most users of ray-cast. Doing this avoids 2x normalize calls per ray-cast in many places.
2015-08-21Fix uninitialized var useCampbell Barton
2015-08-21Docs: correct some commentsCampbell Barton
2015-08-20Fix T45491 not all GPUs support those extensions, use check forAntony Riakiotakis
opensubdiv to enable.
2015-08-20Minor cleanup (BLI_cleanup_dir already adds trailing slash, and correct a ↵Bastien Montagne
false-positive assert).
2015-08-20BGE: Fix T44557 GameLogic module memory leak.Porteries Tristan
This reverts commit 7a28ca4398465be1d6d57079e4b27c3a03418745.
2015-08-20Fix T43654: Radial distance for force fields was computed using the ↵Lukas Tönne
`vec_to_point` vector, which already has the radial component removed.
2015-08-20Resolve MSVC/OpenMP compat issueCampbell Barton
2015-08-20Use BVH-overlap for mesh self-intersection displayCampbell Barton
Add BKE_bmbvh_overlap, remove BKE_bmbvh_find_face_segment
2015-08-20Hopefully fix mingw building after filebrowser rewrite.Bastien Montagne
The mystery here is, how MSVC could not break on such error? :(
2015-08-20BVH-overlap: add callback to BLI_bvhtree_overlapCampbell Barton
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.
2015-08-20Fix T45514 crash entering texpaint mode.Antony Riakiotakis
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.
2015-08-20BVH-overlap: use stack for overlap data arrayCampbell Barton
This is known to be <32, so no need to malloc every item.
2015-08-20Avoid redundant normal calculation in heat-weightCampbell Barton
2015-08-20Cleanup: de-duplicate ray-cast initializationCampbell Barton
2015-08-20Cleanup: comment out isect_ray_tri_threshold_v3Campbell Barton
Also define epsilon var for ray-cast functions.
2015-08-20Transform: Use BVH for volume-snap (optimization)Campbell Barton
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.
2015-08-20Cleanup: remove unused BVH_ONQUAD flagCampbell Barton
2015-08-20Fix drawing subsurf & auto-smoothCampbell Barton
Error caused by recent MFace removal from subsurf.
2015-08-20Cleanup: unused varsCampbell Barton
2015-08-20Cleanup: whitespaceCampbell Barton
2015-08-20FileBrowser: Fix some minor issue with fileentries creation.Bastien Montagne
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.
2015-08-20Fix 32bit builds... :/Bastien Montagne
2015-08-19Final 'FileBrowser First Stage' merge.Bastien Montagne
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. :)
2015-08-19Fix T45847: Pie looses focus when mouse cursor passes through a pie buttonJulian Eisel
2015-08-19More BLT/Windows fixes... :/Bastien Montagne
2015-08-19Hopefully fix broken windows after recent i18n split.Bastien Montagne
We need to include BLI_utildefines.h when using __func__...
2015-08-19Fix for accessing looptri's from subsurfCampbell Barton
Use poly count since tessfaces may be zero
2015-08-19Multi-View: fix Multi-View camera suffix testDalai Felinto
If we had ambiguity in the SceneRenderView > Suffix matching test, the first match would be used. And this would happen everytime a SceneRenderView had an empty camera suffix. We now take the longest matching suffix instead.
2015-08-19Fix T45706: Axis aligned tri-tri intersectionCampbell Barton
2015-08-19Cleanup: style + doxyCampbell Barton
2015-08-19Fix error in recent library API updatesCampbell Barton
2015-08-18Increase Smooth_View limit to 10.000Thomas Beck
Request from @zuggamasta: For turntable like view rotations a very slow and smooth turn is needed. This is now possible with the new limit.
2015-08-18IMB_thumb: Allow blen-handling func to also load datablock previews from ↵Bastien Montagne
.blend file. Notes: * Not yet used, this is the last piece of 'side changes' before the big filebrowser commit. * We can probably be more effective here (like e.g. reading and storing all previews for a given group in thumbnails cache at once, instead of re-opening and parsing the whole file each time), but will do this later.
2015-08-18Replace 'BLO_is_a_library' by 'BLO_library_path_explode'.Bastien Montagne
This new func will be fully used by upcomming code (it mostly adds the extraction of library item name as well as library file and ID group).
2015-08-18IMB_thumb: add thread locking API.Bastien Montagne
General idea is that, if several threads are handling thumbnails at the same time, they can end working on the same file at some point, which will generate conflict. To avoid this, threads can now lock a given filepath. Note that locking data is allocated on a ref-count basis, to avoid keeping the GSet in memory when not needed. Also, we are using global LOCK_IMAGE mutex for now. Needed for upcomming filebrowser rework.
2015-08-18BGE: Fix mesh not registered in scene libload.Porteries Tristan
2015-08-18Fix T45824: Pie's no longer show enum iconsCampbell Barton
2015-08-18UI: avoid property lookup w/ expanded enumsCampbell Barton
2015-08-18UI: avoid subtracting shadow from winrctCampbell Barton
For popup interactions we need to know if events are in the region or not, however subtracting the shadow isn't so reliable, since its not always added to all sides of a popup. Instead, get the winrct value from a popup using the block rect, otherwise the winrct as-is.
2015-08-18Readfile: more efficient OldNewMap lookupsCampbell Barton
Even when lasthit can't be used to find the next address, use it as a starting point for the full array search. Gives approx 1/3 less array searching in own tests.
2015-08-18Docs: function commentsCampbell Barton
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-17Lattice min_max: add a version of the func using lattice's final DispList,Philipp Oeser
and use it for bbox computing. Revision: https://developer.blender.org/D1462
2015-08-17BGE: Fix T45817 Convert curve object in group instance.Porteries Tristan
Now group instance conversion allow unconverted object like curve, meta ball ect…
2015-08-17Subsurf: don't reserve MFace by defaultCampbell Barton
Instead, the cache can be calculated only when its needed (fixes T45787).
2015-08-17Fix T45802: View Lock w/ Curve-Parent failsCampbell Barton